class Timepad::Order

Public Class Methods

new(timepad_client) click to toggle source
# File lib/timepad/order.rb, line 28
def initialize(timepad_client)
  @client = timepad_client
end

Public Instance Methods

list(event_id, attrs = nil) click to toggle source

Get event orders

@params [String] event_id @return [Array]

# File lib/timepad/order.rb, line 36
def list(event_id, attrs = nil)
  response = @client.request "events/#{event_id}/orders", attrs
end