Sha256: fbfda033f58de4e05c720aaa78afba894b8ff7bf6bf8aa90c07bedf979dcdb28

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

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

      def validate
        validate_presence :currency_code
        validate_presence :document
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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