override/models/districts_created.rb in clever-ruby-1.2.0 vs override/models/districts_created.rb in clever-ruby-1.2.1
- old
+ new
@@ -152,10 +152,10 @@
value.each do |k, v|
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
end
end
else # model
- temp_model = CleverAPI.const_get(type).new
+ temp_model = Clever.const_get(type).new
temp_model.build_from_hash(value)
end
end
# Returns the string representation of the object