Module: LookerSDK
- Extended by:
- Configurable
- Defined in:
- lib/looker-sdk.rb,
lib/looker-sdk/error.rb,
lib/looker-sdk/client.rb,
lib/looker-sdk/default.rb,
lib/looker-sdk/version.rb,
lib/looker-sdk/rate_limit.rb,
lib/looker-sdk/configurable.rb,
lib/looker-sdk/authentication.rb,
lib/looker-sdk/client/dynamic.rb,
lib/looker-sdk/response/raise_error.rb
Defined Under Namespace
Modules: Authentication, Configurable, Default, Response Classes: ApplicationCredentialsRequired, BadGateway, BadRequest, Client, ClientError, Conflict, Error, Forbidden, InternalServerError, MethodNotAllowed, MissingContentType, NotAcceptable, NotFound, NotImplemented, OneTimePasswordRequired, RateLimit, ServerError, ServiceUnavailable, TooManyLoginAttempts, TooManyRequests, Unauthorized, UnprocessableEntity, UnsupportedMediaType
Constant Summary collapse
- VERSION =
Current version
"0.0.5"
Instance Attribute Summary
Attributes included from Configurable
#access_token, #api_endpoint, #auto_paginate, #client_id, #client_secret, #connection_options, #default_media_type, #faraday, #middleware, #netrc, #netrc_file, #per_page, #proxy, #raw_responses, #shared_swagger, #swagger, #user_agent, #web_endpoint
Class Method Summary collapse
-
.client ⇒ LookerSDK::Client
API client based on configured options Configurable.
Instance Method Summary collapse
- #respond_to?(method_name, include_private = false) ⇒ Boolean
- #respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Methods included from Configurable
configure, keys, netrc?, reset!
Class Method Details
.client ⇒ LookerSDK::Client
API client based on configured options Configurable
12 13 14 15 |
# File 'lib/looker-sdk.rb', line 12 def client @client = LookerSDK::Client.new() unless defined?(@client) && @client.() @client end |
Instance Method Details
#respond_to?(method_name, include_private = false) ⇒ Boolean
20 |
# File 'lib/looker-sdk.rb', line 20 def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end |
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
18 |
# File 'lib/looker-sdk.rb', line 18 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end |