Class: KazeClient::JobsRequest

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

Overview

List the jobs assigned to the current user’s company.

Constant Summary

Constants inherited from Request

Request::DEFAULT_HEADERS

Instance Attribute Summary

Attributes included from Utils::ListRequest

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

Attributes included from Utils::AuthentifiedRequest

#token

Attributes inherited from Request

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

Instance Method Summary collapse

Methods included from Utils::ListRequest

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

Methods included from Utils::AuthentifiedRequest

#with_token

Methods inherited from Request

#error_for, #parameters

Constructor Details

#initializeJobsRequest

Returns a new instance of JobsRequest.

Since:

  • 0.1.0



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

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

Dynamic Method Handling

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