Class: CentrumFaktur::API::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/centrum_faktur/api/account.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from CentrumFaktur::API::Base

Instance Method Details

#list(options = {}) ⇒ Object



5
6
7
8
# File 'lib/centrum_faktur/api/account.rb', line 5

def list(options = {})
  request = connection.get("/api/1.0/accounts/", options)
  request.handle_response
end