Class: Toptranslation::Resource::User
- Inherits:
-
Object
- Object
- Toptranslation::Resource::User
- Defined in:
- lib/toptranslation/resource/user.rb
Instance Attribute Summary collapse
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#identifier ⇒ Object
readonly
Returns the value of attribute identifier.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(connection, options = {}) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(connection, options = {}) ⇒ User
Returns a new instance of User.
5 6 7 8 9 10 |
# File 'lib/toptranslation/resource/user.rb', line 5 def initialize(connection, = {}) @connection = connection @options = update_from_response() end |
Instance Attribute Details
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name.
3 4 5 |
# File 'lib/toptranslation/resource/user.rb', line 3 def first_name @first_name end |
#identifier ⇒ Object (readonly)
Returns the value of attribute identifier.
3 4 5 |
# File 'lib/toptranslation/resource/user.rb', line 3 def identifier @identifier end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name.
3 4 5 |
# File 'lib/toptranslation/resource/user.rb', line 3 def last_name @last_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/toptranslation/resource/user.rb', line 3 def name @name end |