Class: EpsRapid::Booking
- Inherits:
-
Object
- Object
- EpsRapid::Booking
- Defined in:
- lib/eps-rapid/booking.rb
Class Method Summary collapse
- .complete_payment_session(path, **params) ⇒ Object
- .create_booking(path, body, **params) ⇒ Object
- .register_payment(path, body, **params) ⇒ Object
- .resume_booking(path, **params) ⇒ Object
Class Method Details
.complete_payment_session(path, **params) ⇒ Object
17 18 19 |
# File 'lib/eps-rapid/booking.rb', line 17 def self.complete_payment_session(path, **params) EpsRapid::Client.put(path, params) end |
.create_booking(path, body, **params) ⇒ Object
9 10 11 |
# File 'lib/eps-rapid/booking.rb', line 9 def self.create_booking(path, body, **params) EpsRapid::Client.post(path, body, params) end |
.register_payment(path, body, **params) ⇒ Object
5 6 7 |
# File 'lib/eps-rapid/booking.rb', line 5 def self.register_payment(path, body, **params) EpsRapid::Client.post(path, body, params) end |
.resume_booking(path, **params) ⇒ Object
13 14 15 |
# File 'lib/eps-rapid/booking.rb', line 13 def self.resume_booking(path, **params) EpsRapid::Client.put(path, params) end |