class Omise::Account

Public Class Methods

retrieve(attributes = {}) click to toggle source
# File lib/omise/account.rb, line 7
def self.retrieve(attributes = {})
  new resource(location, attributes).get(attributes)
end

Public Instance Methods

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