Sha256: 916cffe06aee6f7d2fb585fa1a8725ad73200c645f68a8f8240462237078e80a

Contents?: true

Size: 332 Bytes

Versions: 4

Compression:

Stored size: 332 Bytes

Contents

module Ebanx
  module Command
    class Query < Command
      def initialize(params)
        @params         = params
        @request_method = :get
        @request_action = 'query'
        @response_type  = :json
      end

      def validate
        validate_presence_or :hash, :merchant_payment_code
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ebanx-1.3.5 lib/ebanx/command/query.rb
ebanx-1.3.4 lib/ebanx/command/query.rb
ebanx-1.3.3 lib/ebanx/command/query.rb
ebanx-1.3.2 lib/ebanx/command/query.rb