Class: Cupertino::ProvisioningPortal::Team
- Inherits:
-
Struct
- Object
- Struct
- Cupertino::ProvisioningPortal::Team
- Defined in:
- lib/cupertino/provisioning_portal.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#name ⇒ Object
Returns the value of attribute name.
-
#programs ⇒ Object
Returns the value of attribute programs.
Instance Method Summary collapse
Instance Attribute Details
#identifier ⇒ Object
Returns the value of attribute identifier
41 42 43 |
# File 'lib/cupertino/provisioning_portal.rb', line 41 def identifier @identifier end |
#name ⇒ Object
Returns the value of attribute name
41 42 43 |
# File 'lib/cupertino/provisioning_portal.rb', line 41 def name @name end |
#programs ⇒ Object
Returns the value of attribute programs
41 42 43 |
# File 'lib/cupertino/provisioning_portal.rb', line 41 def programs @programs end |
Instance Method Details
#to_s ⇒ Object
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 |