Module: PlentyClient::Authorization
Constant Summary collapse
- AUTH_USER =
'/authorized_user'
- AUTH_USER_WITH_UI_CONFIG =
'/user/authorized_user_with_ui_config'
Class Method Summary collapse
Methods included from Request
Methods included from Endpoint
Class Method Details
.list(headers = {}, &block) ⇒ Object
12 13 14 |
# File 'lib/plenty_client/authorization.rb', line 12 def list(headers = {}, &block) get(build_endpoint(AUTH_TOKEN), headers, &block) end |
.list_with_ui_config(headers = {}, &block) ⇒ Object
16 17 18 |
# File 'lib/plenty_client/authorization.rb', line 16 def list_with_ui_config(headers = {}, &block) get(build_endpoint(AUTH_USER_WITH_UI_CONFIG), headers, &block) end |