Class: GoogleAppsOauth2::Atom::User
- Defined in:
- lib/google_apps_oauth2/atom/user.rb
Constant Summary collapse
- MAP =
{ userName: :login, suspended: :suspended, familyName: :last_name, givenName: :first_name, limit: :quota, password: :password }
Instance Attribute Summary collapse
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#login ⇒ Object
readonly
Returns the value of attribute login.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#quota ⇒ Object
readonly
Returns the value of attribute quota.
-
#suspended ⇒ Object
readonly
Returns the value of attribute suspended.
Instance Method Summary collapse
-
#initialize(xml) ⇒ User
constructor
A new instance of User.
Methods inherited from Document
#find_values, #parse, #set_instances
Methods included from Node
#add_attributes, #check_value, #create_node
Constructor Details
Instance Attribute Details
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def doc @doc end |
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def first_name @first_name end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def last_name @last_name end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def login @login end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def password @password end |
#quota ⇒ Object (readonly)
Returns the value of attribute quota.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def quota @quota end |
#suspended ⇒ Object (readonly)
Returns the value of attribute suspended.
4 5 6 |
# File 'lib/google_apps_oauth2/atom/user.rb', line 4 def suspended @suspended end |