lib/mashery/member.rb in mashery_rails-0.6.7 vs lib/mashery/member.rb in mashery_rails-0.6.8
- old
+ new
@@ -1,8 +1,28 @@
module Mashery
class Member < RpcClient::Base
- attr_accessor(:created, :updated, :username, :email, :display_name,
- :uri, :blog, :im, :imsvc, :phone, :company, :address1, :address2,
- :locality, :region, :postal_code, :country_code, :first_name, :last_name,
- :registration_ipaddr, :area_status, :external_id, :passwd_new, :object_type)
+ attribute :username, String
+ attribute :created, DateTime
+ attribute :updated, DateTime
+ attribute :email, String
+ attribute :display_name, String
+ attribute :url, String
+ attribute :blog, String
+ attribute :im, String
+ attribute :imsvc, String
+ attribute :phone, String
+ attribute :company, String
+ attribute :address1, String
+ attribute :address2, String
+ attribute :locality, String
+ attribute :region, String
+ attribute :postal_code, String
+ attribute :country_code, String
+ attribute :first_name, String
+ attribute :last_name, String
+ attribute :registration_ipaddr, String
+ attribute :area_status, String
+ attribute :external_id, String
+ attribute :passwd_new, String
+ attribute :object_type, String
end
end