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