Class: Firekassa::Account
Overview
Site accounts API
Instance Method Summary collapse
Methods inherited from Client
#handle_error, #interpret_response, #send_request
Instance Method Details
#list ⇒ Object
9 10 11 12 |
# File 'lib/firekassa/account.rb', line 9 def list path = "/api/v2/accounts" send_request(method: :get, path: path) end |
#show(id) ⇒ Object
14 15 16 17 |
# File 'lib/firekassa/account.rb', line 14 def show(id) path = "/api/v2/accounts/#{id}" send_request(method: :get, path: path) end |