class Ebanx::Command::Exchange

Public Class Methods

new(params) click to toggle source
# File lib/ebanx/command/exchange.rb, line 4
def initialize(params)
  @params         = params
  @request_method = :get
  @request_action = 'exchange'
  @response_type  = :json
end

Public Instance Methods

validate() click to toggle source
# File lib/ebanx/command/exchange.rb, line 11
def validate
  validate_presence :currency_code
end