Class: Seam::Clients::CustomersReservations
- Inherits:
-
Object
- Object
- Seam::Clients::CustomersReservations
- Defined in:
- lib/seam/routes/clients/customers_reservations.rb
Instance Method Summary collapse
- #create_deep_link(customer_key:, reservation_key:) ⇒ Object
-
#initialize(client:, defaults:) ⇒ CustomersReservations
constructor
A new instance of CustomersReservations.
Constructor Details
#initialize(client:, defaults:) ⇒ CustomersReservations
Returns a new instance of CustomersReservations.
6 7 8 9 |
# File 'lib/seam/routes/clients/customers_reservations.rb', line 6 def initialize(client:, defaults:) @client = client @defaults = defaults end |
Instance Method Details
#create_deep_link(customer_key:, reservation_key:) ⇒ Object
11 12 13 14 15 |
# File 'lib/seam/routes/clients/customers_reservations.rb', line 11 def create_deep_link(customer_key:, reservation_key:) @client.post("/customers/reservations/create_deep_link", {customer_key: customer_key, reservation_key: reservation_key}.compact) nil end |