Module: Resources::Project::Order

Included in:
Onesky::Project
Defined in:
lib/onesky/resources/project/order.rb

Instance Method Summary collapse

Instance Method Details

#create_order(params) ⇒ Object



13
14
15
# File 'lib/onesky/resources/project/order.rb', line 13

def create_order(params)
  post("#{project_path}/orders", params)
end

#list_order(params = {}) ⇒ Object



5
6
7
# File 'lib/onesky/resources/project/order.rb', line 5

def list_order(params = {})
  get("#{project_path}/orders", params)
end

#show_order(order_id) ⇒ Object



9
10
11
# File 'lib/onesky/resources/project/order.rb', line 9

def show_order(order_id)
  get("#{project_path}/orders/#{order_id}")
end