Module: Allq

Defined in:
lib/allq_rest/version.rb,
lib/allq_rest.rb,
lib/allq_rest/api_error.rb,
lib/allq_rest/api_client.rb,
lib/allq_rest/api/admin_api.rb,
lib/allq_rest/configuration.rb,
lib/allq_rest/models/job_ref.rb,
lib/allq_rest/models/new_job.rb,
lib/allq_rest/api/actions_api.rb,
lib/allq_rest/models/throttle.rb,
lib/allq_rest/models/tube_ref.rb,
lib/allq_rest/models/stats_info.rb,
lib/allq_rest/models/stats_tube.rb,
lib/allq_rest/models/job_response.rb,
lib/allq_rest/models/basic_payload.rb,
lib/allq_rest/models/stats_results.rb,
lib/allq_rest/models/basic_response.rb,
lib/allq_rest/models/new_parent_job.rb,
lib/allq_rest/models/multiple_job_response.rb

Overview

#AllQ

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.2

Defined Under Namespace

Classes: ActionsApi, AdminApi, ApiClient, ApiError, BasicPayload, BasicResponse, Configuration, JobRef, JobResponse, MultipleJobResponse, NewJob, NewParentJob, StatsInfo, StatsResults, StatsTube, Throttle, TubeRef

Constant Summary collapse

VERSION =
'1.5.2'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Allq.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



45
46
47
48
49
50
51
# File 'lib/allq_rest.rb', line 45

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end