Class: Gillbus::BuyTickets::Request

Inherits:
Gillbus::BaseRequest show all
Defined in:
lib/gillbus/buy_tickets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Gillbus::BaseRequest

#initialize, #method

Constructor Details

This class inherits a constructor from Gillbus::BaseRequest

Instance Attribute Details

#order_idObject

orderId Уникальный ИД заказа, переданный при отложенной продаже.



10
11
12
# File 'lib/gillbus/buy_tickets.rb', line 10

def order_id
  @order_id
end

Instance Method Details

#paramsObject



12
13
14
# File 'lib/gillbus/buy_tickets.rb', line 12

def params
  { orderId: order_id }
end

#pathObject



6
# File 'lib/gillbus/buy_tickets.rb', line 6

def path; '/online2/buyTickets' end