Class: TicketflyPlus::Objects::Org
- Inherits:
-
Object
- Object
- TicketflyPlus::Objects::Org
- Defined in:
- lib/ticketfly_plus/objects.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#promoter ⇒ Object
Returns the value of attribute promoter.
-
#timeZone ⇒ Object
Returns the value of attribute timeZone.
Instance Method Summary collapse
-
#initialize(org) ⇒ Org
constructor
A new instance of Org.
Constructor Details
#initialize(org) ⇒ Org
Returns a new instance of Org.
123 124 125 126 127 128 |
# File 'lib/ticketfly_plus/objects.rb', line 123 def initialize(org) @id = org['id'] @name = org['name'] @promoter = org['promoter'] @timeZone = org['timeZone'] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
118 119 120 |
# File 'lib/ticketfly_plus/objects.rb', line 118 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
119 120 121 |
# File 'lib/ticketfly_plus/objects.rb', line 119 def name @name end |
#promoter ⇒ Object
Returns the value of attribute promoter.
120 121 122 |
# File 'lib/ticketfly_plus/objects.rb', line 120 def promoter @promoter end |
#timeZone ⇒ Object
Returns the value of attribute timeZone.
121 122 123 |
# File 'lib/ticketfly_plus/objects.rb', line 121 def timeZone @timeZone end |