Module: Drillbit

Defined in:
lib/drillbit/resource/naming.rb,
lib/drillbit/version.rb,
lib/drillbit/resource.rb,
lib/drillbit/tokens/null.rb,
lib/drillbit/accept_header.rb,
lib/drillbit/configuration.rb,
lib/drillbit/requests/base.rb,
lib/drillbit/requests/rack.rb,
lib/drillbit/tokens/base64.rb,
lib/drillbit/requests/rails.rb,
lib/drillbit/resource/model.rb,
lib/drillbit/tokens/invalid.rb,
lib/drillbit/parameters/page.rb,
lib/drillbit/parameters/sort.rb,
lib/drillbit/matchers/generic.rb,
lib/drillbit/matchers/version.rb,
lib/drillbit/parameters/index.rb,
lib/drillbit/utilities/string.rb,
lib/drillbit/authorizers/query.rb,
lib/drillbit/authorizers/scope.rb,
lib/drillbit/parameters/filter.rb,
lib/drillbit/matchers/subdomain.rb,
lib/drillbit/tokens/base64s/null.rb,
lib/drillbit/errors/invalid_token.rb,
lib/drillbit/serializers/json_api.rb,
lib/drillbit/authorizable_resource.rb,
lib/drillbit/tokens/json_web_token.rb,
lib/drillbit/authorizers/parameters.rb,
lib/drillbit/matchers/accept_header.rb,
lib/drillbit/tokens/base64s/invalid.rb,
lib/drillbit/responses/invalid_token.rb,
lib/drillbit/errors/invalid_subdomain.rb,
lib/drillbit/compatibility/controllers.rb,
lib/drillbit/errors/invalid_api_request.rb,
lib/drillbit/middleware/token_processor.rb,
lib/drillbit/resource/processors/paging.rb,
lib/drillbit/errors/invalid_request_body.rb,
lib/drillbit/middleware/parameter_parser.rb,
lib/drillbit/resource/processors/sorting.rb,
lib/drillbit/responses/invalid_subdomain.rb,
lib/drillbit/tokens/json_web_tokens/null.rb,
lib/drillbit/resource/processors/indexing.rb,
lib/drillbit/errors/unpermitted_inclusions.rb,
lib/drillbit/resource/processors/filtering.rb,
lib/drillbit/responses/invalid_api_request.rb,
lib/drillbit/responses/invalid_request_body.rb,
lib/drillbit/tokens/json_web_tokens/invalid.rb,
lib/drillbit/authorizers/parameters/resource.rb,
lib/drillbit/authorizers/parameters/filtering.rb,
lib/drillbit/middleware/api_request_validator.rb,
lib/drillbit/authorizers/parameters/inclusions.rb,
lib/drillbit/tokens/json_web_tokens/password_reset.rb

Overview

rubocop:disable Metrics/LineLength

Defined Under Namespace

Modules: AuthorizableResource, Authorizers, Compatibility, Errors, Matchers, Middleware, Requests, Resource, Responses, Serializers, Tokens, Utilities Classes: AcceptHeader, Configuration, Parameters

Constant Summary collapse

VERSION =
'3.0.3'

Class Method Summary collapse

Class Method Details

.configurationObject



83
84
85
# File 'lib/drillbit/configuration.rb', line 83

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



79
80
81
# File 'lib/drillbit/configuration.rb', line 79

def self.configure
  yield configuration
end