lib/parking_ticket.rb in parking_ticket-1.0.42 vs lib/parking_ticket.rb in parking_ticket-1.0.43

- old
+ new

@@ -64,11 +64,18 @@ def payment_methods adapter.payment_methods end - def new_ticket(license_plate, zipcode, rate_option_id, quantity, time_unit, payment_method_id) - adapter.new_ticket(license_plate, zipcode, rate_option_id, quantity, time_unit, payment_method_id) + def new_ticket(license_plate:, zipcode:, rate_option_client_internal_id:, quantity:, time_unit:, payment_method_id:) + adapter.new_ticket( + license_plate: license_plate, + zipcode: zipcode, + rate_option_client_internal_id: rate_option_client_internal_id, + quantity: 1, + time_unit: time_unit, + payment_method_id: payment_method_id + ) end def quote(rate_option_id, zipcode, license_plate, quantity, time_unit) adapter.quote(rate_option_id, zipcode, license_plate, quantity, time_unit) end