Class: Atlantis::Portal::Group

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



23
24
25
# File 'lib/Atlantis/portal.rb', line 23

def alias
  @alias
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



23
24
25
# File 'lib/Atlantis/portal.rb', line 23

def count
  @count
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



23
24
25
# File 'lib/Atlantis/portal.rb', line 23

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/Atlantis/portal.rb', line 23

def name
  @name
end

Instance Method Details

#to_sObject



24
25
26
# File 'lib/Atlantis/portal.rb', line 24

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