Class: Atlantis::Portal::Person
- Inherits:
-
Struct
- Object
- Struct
- Atlantis::Portal::Person
- Defined in:
- lib/Atlantis/portal.rb
Instance Attribute Summary collapse
-
#devices ⇒ Object
Returns the value of attribute devices.
-
#email ⇒ Object
Returns the value of attribute email.
-
#groups ⇒ Object
Returns the value of attribute groups.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#devices ⇒ Object
Returns the value of attribute devices
11 12 13 |
# File 'lib/Atlantis/portal.rb', line 11 def devices @devices end |
#email ⇒ Object
Returns the value of attribute email
11 12 13 |
# File 'lib/Atlantis/portal.rb', line 11 def email @email end |
#groups ⇒ Object
Returns the value of attribute groups
11 12 13 |
# File 'lib/Atlantis/portal.rb', line 11 def groups @groups end |
#id ⇒ Object
Returns the value of attribute id
11 12 13 |
# File 'lib/Atlantis/portal.rb', line 11 def id @id end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'lib/Atlantis/portal.rb', line 11 def name @name end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/Atlantis/portal.rb', line 12 def to_s "#{self.id} #{self.name} #{self.email}" end |