Sha256: 655a04e6415f7966d8cfdef9424824a09a93747f6891844956dab72693dcd2c6

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 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 :hash
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ebanx-1.0.0 lib/ebanx/command/query.rb
ebanx-0.1.0 lib/ebanx/command/query.rb