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

#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

#udidObject

Returns the value of attribute udid

Returns:

  • (Object)

    the current value of udid



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

def udid
  @udid
end

Instance Method Details

#to_sObject



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

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