Class: Flyticket::Events
Class Method Summary collapse
- .event(options) ⇒ Object
- .featured(options) ⇒ Object
- .just_announced(options) ⇒ Object
- .list(options) ⇒ Object
- .past(options) ⇒ Object
- .upcoming(options) ⇒ Object
Methods inherited from Endpoint
Class Method Details
.event(options) ⇒ Object
27 28 29 |
# File 'lib/flyticket/events.rb', line 27 def self.event() get_one '/event.json', end |
.featured(options) ⇒ Object
15 16 17 |
# File 'lib/flyticket/events.rb', line 15 def self.featured() get_many '/featured.json', end |
.just_announced(options) ⇒ Object
23 24 25 |
# File 'lib/flyticket/events.rb', line 23 def self.just_announced() get_many '/justAnnounced.json', end |
.list(options) ⇒ Object
7 8 9 |
# File 'lib/flyticket/events.rb', line 7 def self.list() get_many '/list.json', end |
.past(options) ⇒ Object
19 20 21 |
# File 'lib/flyticket/events.rb', line 19 def self.past() get_many '/past.json', end |
.upcoming(options) ⇒ Object
11 12 13 |
# File 'lib/flyticket/events.rb', line 11 def self.upcoming() get_many '/upcoming.json', end |