Class: Atlantis::Portal::Team

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



29
30
31
# File 'lib/Atlantis/portal.rb', line 29

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



29
30
31
# File 'lib/Atlantis/portal.rb', line 29

def name
  @name
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



29
30
31
# File 'lib/Atlantis/portal.rb', line 29

def token
  @token
end

Instance Method Details

#to_sObject



30
31
32
# File 'lib/Atlantis/portal.rb', line 30

def to_s
  "#{self.id} #{self.name} #{self.token}"
end