Class: Fakturoid::Api::User

Inherits:
Object
  • Object
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

#allObject



12
13
14
# File 'lib/fakturoid/api/user.rb', line 12

def all
  perform_request(HTTP_GET, "users.json")
end

#currentObject



8
9
10
# File 'lib/fakturoid/api/user.rb', line 8

def current
  perform_request(HTTP_GET, "user.json", url: client.config.)
end