Class: TicketflyPlus::Requestors::Events
- Defined in:
- lib/ticketfly_plus/requestors.rb
Constant Summary collapse
- EVENTS_STRING =
'/events'
Constants inherited from Base
Instance Attribute Summary collapse
-
#artistName ⇒ Object
Returns the value of attribute artistName.
-
#clientip ⇒ Object
Returns the value of attribute clientip.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#fieldGroup ⇒ Object
Returns the value of attribute fieldGroup.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#fromDate ⇒ Object
Returns the value of attribute fromDate.
-
#geo ⇒ Object
Returns the value of attribute geo.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#maxResults ⇒ Object
Returns the value of attribute maxResults.
-
#orgId ⇒ Object
Returns the value of attribute orgId.
-
#pageNum ⇒ Object
Returns the value of attribute pageNum.
-
#q ⇒ Object
Returns the value of attribute q.
-
#skin ⇒ Object
Returns the value of attribute skin.
-
#tflyTicketed ⇒ Object
Returns the value of attribute tflyTicketed.
-
#thruDate ⇒ Object
Returns the value of attribute thruDate.
-
#venueId ⇒ Object
Returns the value of attribute venueId.
Instance Method Summary collapse
- #featured ⇒ Object
-
#initialize(options = {}) ⇒ Events
constructor
A new instance of Events.
- #just_announced ⇒ Object
- #list ⇒ Object
- #on_sale ⇒ Object
- #past ⇒ Object
- #upcoming ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(options = {}) ⇒ Events
Returns a new instance of Events.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/ticketfly_plus/requestors.rb', line 79 def initialize(={}) super @artistName = stringify('artistName=', [:artistName]) @fields = stringify('fields=', [:fields]) @fieldsGroup = stringify('fieldsGroup=', [:fieldsGroup]) @fromDate = stringify('fromDate=', [:fromDate]) @maxResults = stringify('maxResults=', [:maxResults]) @orgId = stringify('orgId=', [:orgId]) @pageNum = stringify('pageNum=', [:pageNum]) @q = stringify('q=', [:q]) @skin = stringify('skin=', [:skin]) @tflyTicketed = stringify('tflyTicketed=', [:tflyTicketed]) @thruDate = stringify('thruDate=', [:thruDate]) @venueId = stringify('venueId=', [:venueId]) @geo = stringify('location=geo:', [:geo]) @ip = stringify('location=ip:', [:ip]) @clientip = stringify('location=clientip', [:clientip]) @distance = stringify('distance=', [:distance]) end |
Instance Attribute Details
#artistName ⇒ Object
Returns the value of attribute artistName.
61 62 63 |
# File 'lib/ticketfly_plus/requestors.rb', line 61 def artistName @artistName end |
#clientip ⇒ Object
Returns the value of attribute clientip.
76 77 78 |
# File 'lib/ticketfly_plus/requestors.rb', line 76 def clientip @clientip end |
#distance ⇒ Object
Returns the value of attribute distance.
77 78 79 |
# File 'lib/ticketfly_plus/requestors.rb', line 77 def distance @distance end |
#fieldGroup ⇒ Object
Returns the value of attribute fieldGroup.
62 63 64 |
# File 'lib/ticketfly_plus/requestors.rb', line 62 def fieldGroup @fieldGroup end |
#fields ⇒ Object
Returns the value of attribute fields.
63 64 65 |
# File 'lib/ticketfly_plus/requestors.rb', line 63 def fields @fields end |
#fromDate ⇒ Object
Returns the value of attribute fromDate.
64 65 66 |
# File 'lib/ticketfly_plus/requestors.rb', line 64 def fromDate @fromDate end |
#geo ⇒ Object
Returns the value of attribute geo.
74 75 76 |
# File 'lib/ticketfly_plus/requestors.rb', line 74 def geo @geo end |
#ip ⇒ Object
Returns the value of attribute ip.
75 76 77 |
# File 'lib/ticketfly_plus/requestors.rb', line 75 def ip @ip end |
#maxResults ⇒ Object
Returns the value of attribute maxResults.
65 66 67 |
# File 'lib/ticketfly_plus/requestors.rb', line 65 def maxResults @maxResults end |
#orgId ⇒ Object
Returns the value of attribute orgId.
66 67 68 |
# File 'lib/ticketfly_plus/requestors.rb', line 66 def orgId @orgId end |
#pageNum ⇒ Object
Returns the value of attribute pageNum.
67 68 69 |
# File 'lib/ticketfly_plus/requestors.rb', line 67 def pageNum @pageNum end |
#q ⇒ Object
Returns the value of attribute q.
68 69 70 |
# File 'lib/ticketfly_plus/requestors.rb', line 68 def q @q end |
#skin ⇒ Object
Returns the value of attribute skin.
69 70 71 |
# File 'lib/ticketfly_plus/requestors.rb', line 69 def skin @skin end |
#tflyTicketed ⇒ Object
Returns the value of attribute tflyTicketed.
70 71 72 |
# File 'lib/ticketfly_plus/requestors.rb', line 70 def tflyTicketed @tflyTicketed end |
#thruDate ⇒ Object
Returns the value of attribute thruDate.
71 72 73 |
# File 'lib/ticketfly_plus/requestors.rb', line 71 def thruDate @thruDate end |
#venueId ⇒ Object
Returns the value of attribute venueId.
72 73 74 |
# File 'lib/ticketfly_plus/requestors.rb', line 72 def venueId @venueId end |
Instance Method Details
#featured ⇒ Object
107 108 109 |
# File 'lib/ticketfly_plus/requestors.rb', line 107 def featured TicketflyPlus::Calls::Featured.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |
#just_announced ⇒ Object
111 112 113 |
# File 'lib/ticketfly_plus/requestors.rb', line 111 def just_announced TicketflyPlus::Calls::JustAnnounced.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |
#list ⇒ Object
99 100 101 |
# File 'lib/ticketfly_plus/requestors.rb', line 99 def list TicketflyPlus::Calls::List.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |
#on_sale ⇒ Object
119 120 121 |
# File 'lib/ticketfly_plus/requestors.rb', line 119 def on_sale TicketflyPlus::Calls::OnSale.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |
#past ⇒ Object
115 116 117 |
# File 'lib/ticketfly_plus/requestors.rb', line 115 def past TicketflyPlus::Calls::Past.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |
#upcoming ⇒ Object
103 104 105 |
# File 'lib/ticketfly_plus/requestors.rb', line 103 def upcoming TicketflyPlus::Calls::Upcoming.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s) end |