Class: TicketflyPlus::Objects::Org

Inherits:
Object
  • Object
show all
Defined in:
lib/ticketfly_plus/objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



118
119
120
# File 'lib/ticketfly_plus/objects.rb', line 118

def id
  @id
end

#nameObject

Returns the value of attribute name.



119
120
121
# File 'lib/ticketfly_plus/objects.rb', line 119

def name
  @name
end

#promoterObject

Returns the value of attribute promoter.



120
121
122
# File 'lib/ticketfly_plus/objects.rb', line 120

def promoter
  @promoter
end

#timeZoneObject

Returns the value of attribute timeZone.



121
122
123
# File 'lib/ticketfly_plus/objects.rb', line 121

def timeZone
  @timeZone
end