Method: Parsec::Order#initialize
- Defined in:
- lib/parsec/order.rb
#initialize(product_item_id:, rooms:, price:, hotel_code:, start_date:, end_date:, parsec_id:, status:) ⇒ Order
rubocop:disable Metrics/ParameterLists
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/parsec/order.rb', line 14 def initialize(product_item_id:, rooms:, price:, hotel_code:, start_date:, end_date:, parsec_id:, status:) @product_item_id = product_item_id @rooms = rooms @price = price @hotel_code = hotel_code @start_date = start_date @end_date = end_date @parsec_id = parsec_id @status = status end |