Sha256: 86301c28448611484406b7fb9072dae8c09529a9412a1e0032159610d2f4ae6a

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 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

5 entries across 5 versions & 1 rubygems

Version Path
ebanx-1.3.1 lib/ebanx/command/query.rb
ebanx-1.3.0 lib/ebanx/command/query.rb
ebanx-1.2.0 lib/ebanx/command/query.rb
ebanx-1.1.0 lib/ebanx/command/query.rb
ebanx-1.0.2 lib/ebanx/command/query.rb