Sha256: 166c6c625fdc59b00a2741be5bfaad4641e6d9bb344f5466d93a9c66ab20d10d

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

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

      def validate
        validate_presence :currency_code
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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