Sha256: c9a7ff5cd9d1d63503508d708d9a73b9497e0d91cdee737d176856effbc7153b

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module Payture::Cheques
  module Methods
    class Status < Base
      private

      def url
        "#{config.base_url}/Status"
      end

      def params(cheque_id:)
        {
          Key: config.merchant_id,
          Password: config.password,
          Id: cheque_id,
        }
      end

      def response_class
        Responses::Status
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
payture-cheques-0.1.5 lib/payture/cheques/methods/status.rb
payture-cheques-0.1.4 lib/payture/cheques/methods/status.rb
payture-cheques-0.1.3 lib/payture/cheques/methods/status.rb
payture-cheques-0.1.2 lib/payture/cheques/methods/status.rb
payture-cheques-0.1.0 lib/payture/cheques/methods/status.rb