class Locomotive::Coal::Resources::MyAccount
Public Instance Methods
create(attributes = {})
click to toggle source
# File lib/locomotive/coal/resources/my_account.rb, line 12 def create(attributes = {}) without_authentication do data = post('my_account', account: attributes) Resource.new(data) end end
get()
click to toggle source
Calls superclass method
Locomotive::Coal::Resources::Concerns::Request#get
# File lib/locomotive/coal/resources/my_account.rb, line 8 def get Resource.new(super('my_account')) end
update(attributes = {})
click to toggle source
# File lib/locomotive/coal/resources/my_account.rb, line 19 def update(attributes = {}) data = put('my_account', account: attributes) Resource.new(data) end