Class: Cupertino::ProvisioningPortal::Team

Inherits:
Struct
  • Object
show all
Defined in:
lib/cupertino/provisioning_portal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



41
42
43
# File 'lib/cupertino/provisioning_portal.rb', line 41

def identifier
  @identifier
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



41
42
43
# File 'lib/cupertino/provisioning_portal.rb', line 41

def name
  @name
end

#programsObject

Returns the value of attribute programs

Returns:

  • (Object)

    the current value of programs



41
42
43
# File 'lib/cupertino/provisioning_portal.rb', line 41

def programs
  @programs
end

Instance Method Details

#to_sObject



42
43
44
# File 'lib/cupertino/provisioning_portal.rb', line 42

def to_s
  "#{self.name} (#{self.identifier})" + (" [#{self.programs.join(', ')}]" unless self.programs.empty?).to_s
end