Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

`responds_to' => `respond_to'

Typo that was missed by the author, code reviewer, and merger.
  • Loading branch information...
commit 54dc43a923d0d1b5329620754c21edceeb9a05d7 1 parent 8673500
Adam Derewecki authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mogli/client.rb
View
2  lib/mogli/client.rb
@@ -209,7 +209,7 @@ def constantize_string(klass)
end
def determine_class(klass_or_klasses,data)
- if data.responds_to?(:has_key?) && data.has_key('type') &&
+ if data.respond_to?(:has_key?) && data.has_key('type') &&
klass_or_klasses == Mogli::Model
return constantize_string(data['type'])
end
Please sign in to comment.
Something went wrong with that request. Please try again.