Class: Atlantis::Portal::Device
- Inherits:
-
Struct
- Object
- Struct
- Atlantis::Portal::Device
- Defined in:
- lib/Atlantis/portal.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#udid ⇒ Object
Returns the value of attribute udid.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
17 18 19 |
# File 'lib/Atlantis/portal.rb', line 17 def name @name end |
#udid ⇒ Object
Returns the value of attribute udid
17 18 19 |
# File 'lib/Atlantis/portal.rb', line 17 def udid @udid end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/Atlantis/portal.rb', line 18 def to_s "#{self.udid} #{self.name}" end |