lib/clever-ruby/models/teachers_deleted.rb in clever-ruby-1.2.0 vs lib/clever-ruby/models/teachers_deleted.rb in clever-ruby-1.2.1
- old
+ new
@@ -153,10 +153,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