Class: Fakturoid::Api::User
- Inherits:
-
Object
- Object
- Fakturoid::Api::User
show all
- Includes:
- Base
- Defined in:
- lib/fakturoid/api/user.rb
Instance Attribute Summary
Attributes included from Base
#client
Instance Method Summary
collapse
Methods included from Base
#initialize, #perform_request
Instance Method Details
#all ⇒ Object
12
13
14
|
# File 'lib/fakturoid/api/user.rb', line 12
def all
perform_request(HTTP_GET, "users.json")
end
|
#current ⇒ Object
8
9
10
|
# File 'lib/fakturoid/api/user.rb', line 8
def current
perform_request(HTTP_GET, "user.json", url: client.config.api_endpoint_without_account)
end
|