Class: Atlantis::Portal::CommandArguments

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def format
  @format
end

#groupObject

Returns the value of attribute group

Returns:

  • (Object)

    the current value of group



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def group
  @group
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def password
  @password
end

#serviceObject

Returns the value of attribute service

Returns:

  • (Object)

    the current value of service



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def service
  @service
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def team
  @team
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



35
36
37
# File 'lib/Atlantis/portal.rb', line 35

def username
  @username
end

Instance Method Details

#to_sObject



36
37
38
# File 'lib/Atlantis/portal.rb', line 36

def to_s
  "#{self.username} #{self.team} #{self.format} #{self.service}"
end