Sha256: 0641b8891351e3dc5f450b62b19c71ab3d95b644898820b9fcc8a35d72a73daf

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require 'dry-validation'

module Fawry
  module Contracts
    class PaymentStatusRequestContract < Dry::Validation::Contract
      params do
        required(:merchant_code).value(:string)
        required(:merchant_ref_number).value(:string)
        required(:fawry_secure_key).value(:string)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fawry-0.3.0 lib/fawry/contracts/payment_status_request_contract.rb
fawry-0.2.0 lib/fawry/contracts/payment_status_request_contract.rb