Class: Atlantis::Portal::Device

Inherits:
Struct
  • Object
show all
Defined in:
lib/Atlantis/portal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def identifier
  @identifier
end

#manufacturerObject

Returns the value of attribute manufacturer

Returns:

  • (Object)

    the current value of manufacturer



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def manufacturer
  @manufacturer
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def model
  @model
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def model_name
  @model_name
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def name
  @name
end

#os_versionObject

Returns the value of attribute os_version

Returns:

  • (Object)

    the current value of os_version



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def os_version
  @os_version
end

#platformObject

Returns the value of attribute platform

Returns:

  • (Object)

    the current value of platform



17
18
19
# File 'lib/Atlantis/portal.rb', line 17

def platform
  @platform
end

Instance Method Details

#to_sObject



18
19
20
# File 'lib/Atlantis/portal.rb', line 18

def to_s
  "#{self.identifier} #{self.name}"
end