Sha256: 85fa861db3d40766390d13b8ab849fd8c1b0200a9eccb66b23725528c03344af

Contents?: true

Size: 486 Bytes

Versions: 10

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

module EpsRapid
  class Booking
    def self.register_payment(path, body, **params)
      EpsRapid::Client.post(path, body, params)
    end

    def self.create_booking(path, body, **params)
      EpsRapid::Client.post(path, body, params)
    end

    def self.resume_booking(path, **params)
      EpsRapid::Client.put(path, params)
    end

    def self.complete_payment_session(path, **params)
      EpsRapid::Client.put(path, params)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
eps-rapid-1.4.0 lib/eps-rapid/booking.rb
eps-rapid-1.3.0 lib/eps-rapid/booking.rb
eps-rapid-1.2.1 lib/eps-rapid/booking.rb
eps-rapid-1.2.0 lib/eps-rapid/booking.rb
eps-rapid-1.1.3 lib/eps-rapid/booking.rb
eps-rapid-1.1.2 lib/eps-rapid/booking.rb
eps-rapid-1.1.1 lib/eps-rapid/booking.rb
eps-rapid-1.1.0 lib/eps-rapid/booking.rb
eps-rapid-1.0.1 lib/eps-rapid/booking.rb
eps-rapid-1.0.0 lib/eps-rapid/booking.rb