examples/models/admin.rb in api-client-2.0.0.rc1 vs examples/models/admin.rb in api-client-2.0.0.rc2
- old
+ new
@@ -1,7 +1,7 @@
class Admin < ApiClient::Base
- self.remote_object = "user"
- self.association = { :groups => "Group" }
+ self.remote_object = 'user'
+ self.association = { :groups => 'Group' }
# Any of this fields can be called to manage rails form.
attr_accessor :id, :email, :password, :password_confirmation
# Validations will work as well
\ No newline at end of file