class Chute::V2::Accounts

Public Class Methods

find(id) click to toggle source
# File lib/chute/v2/accounts.rb, line 10
def find(id)
  Chute::Client.get("/v2/accounts/#{id}")
end
me() click to toggle source

Accounts Listing

# File lib/chute/v2/accounts.rb, line 6
def me
  Chute::Client.get("/v2/me/accounts")
end
update(id, account = {}) click to toggle source
# File lib/chute/v2/accounts.rb, line 14
def update(id, account = {})
  Chute::Client.put("/v2/accounts/#{id}", account: account)
end