Module: Goraku::Client::Program

Included in:
Goraku::Client
Defined in:
lib/goraku/client/program.rb

Instance Method Summary collapse

Instance Method Details

#program(id) ⇒ Object



5
6
7
# File 'lib/goraku/client/program.rb', line 5

def program(id)
  get "/program/#{id}.json"
end

#reserve_program(id) ⇒ Object



9
10
11
# File 'lib/goraku/client/program.rb', line 9

def reserve_program(id)
  put "/program/#{id}.json"
end