Class: StubHubApi::Event

Inherits:
Base
  • Object
show all
Defined in:
lib/stub_hub_api/event.rb

Instance Attribute Summary

Attributes inherited from Base

#sandbox, #token

Instance Method Summary collapse

Methods inherited from Base

#delete_query_api, #get_query_api, #initialize, #post_multi_part_query_api, #post_multi_pdfs_json_query_api, #post_query_api, #put_query_api

Constructor Details

This class inherits a constructor from StubHubApi::Base

Instance Method Details

#get_event(event_id, options = {}) ⇒ Object



3
4
5
# File 'lib/stub_hub_api/event.rb', line 3

def get_event(event_id, options = {})
  get_query_api("/catalog/events/v2/#{event_id}", options)
end