lib/mls/models/account.rb in mls-0.3.1 vs lib/mls/models/account.rb in mls-0.3.2

- old
+ new

@@ -1,7 +1,7 @@ class MLS::Account < MLS::Resource - property :id, Fixnum, :serialize => false + property :id, Fixnum, :serialize => :if_present property :type, String, :default => 'Account' property :name, String, :serialize => :if_present property :title, String, :serialize => :if_present property :email, String, :serialize => :if_present property :password, String, :serialize => :if_present