Class: NationalRailWrapper::Feeds::KnowledgeBase::Requests::TicketRestrictions

Inherits:
Base show all
Defined in:
lib/national_rail_wrapper/feeds/knowledge_base/requests/ticket_restrictions.rb

Instance Method Summary collapse

Methods inherited from Base

#base_url, #request_params

Methods inherited from Base::Requests::Base

#base_url, #call, #request_params

Instance Method Details

#run(auth_token) ⇒ Object



4
5
6
# File 'lib/national_rail_wrapper/feeds/knowledge_base/requests/ticket_restrictions.rb', line 4

def run(auth_token)
  call(path: '/4.0/ticket-restrictions', auth_token: auth_token)
end