class Omise::Forex

Public Class Methods

from(currency, attributes = {}) click to toggle source
# File lib/omise/forex.rb, line 7
def self.from(currency, attributes = {})
  new resource(location(currency.to_s.downcase), attributes).get(attributes)
end

Public Instance Methods

reload(attributes = {}) click to toggle source
# File lib/omise/forex.rb, line 11
def reload(attributes = {})
  assign_attributes resource(attributes).get(attributes)
end