Class: KazeClient::UsersRequest

Inherits:
KazeClient::Utils::FinalRequest show all
Includes:
KazeClient::Utils::AuthentifiedRequest, KazeClient::Utils::ListRequest
Defined in:
lib/kaze_client/request/requests/users_request.rb

Overview

List the users from the current user’s company.

Constant Summary

Constants inherited from Request

Request::DEFAULT_HEADERS

Instance Attribute Summary

Attributes included from KazeClient::Utils::ListRequest

#filters, #order_direction, #order_field, #page, #per_page

Attributes included from KazeClient::Utils::AuthentifiedRequest

#token

Attributes inherited from Request

#body, #headers, #method, #query, #url

Instance Method Summary collapse

Methods included from KazeClient::Utils::ListRequest

#add_order_direction, #add_order_field, #add_page, #add_per_page, #filter_by_id, #method_missing, #respond_to_missing?

Methods included from KazeClient::Utils::AuthentifiedRequest

#with_token

Methods inherited from Request

#error_for, #parameters

Constructor Details

#initializeUsersRequest

Returns a new instance of UsersRequest.

Since:

  • 0.3.0



16
17
18
# File 'lib/kaze_client/request/requests/users_request.rb', line 16

def initialize
  super(:get, 'api/users')
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class KazeClient::Utils::ListRequest