Sha256: d1ee1156f2bf7b8d7649e3dc194a622dcb4695e1c926b9f97cc81d799385c18b

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

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

      def validate
        validate_presence :currency_codes
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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