Class: Atlantis::Portal::Team
- Inherits:
-
Struct
- Object
- Struct
- Atlantis::Portal::Team
- Defined in:
- lib/Atlantis/portal.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
29 30 31 |
# File 'lib/Atlantis/portal.rb', line 29 def id @id end |
#name ⇒ Object
Returns the value of attribute name
29 30 31 |
# File 'lib/Atlantis/portal.rb', line 29 def name @name end |
#token ⇒ Object
Returns the value of attribute token
29 30 31 |
# File 'lib/Atlantis/portal.rb', line 29 def token @token end |
Instance Method Details
#to_s ⇒ Object
30 31 32 |
# File 'lib/Atlantis/portal.rb', line 30 def to_s "#{self.id} #{self.name} #{self.token}" end |