Class: Atlantis::Portal::Person

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#devicesObject

Returns the value of attribute devices

Returns:

  • (Object)

    the current value of devices



11
12
13
# File 'lib/Atlantis/portal.rb', line 11

def devices
  @devices
end

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



11
12
13
# File 'lib/Atlantis/portal.rb', line 11

def email
  @email
end

#groupsObject

Returns the value of attribute groups

Returns:

  • (Object)

    the current value of groups



11
12
13
# File 'lib/Atlantis/portal.rb', line 11

def groups
  @groups
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/Atlantis/portal.rb', line 11

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/Atlantis/portal.rb', line 11

def name
  @name
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/Atlantis/portal.rb', line 12

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