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

Returns:

  • (String)
"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

Instance Method Summary collapse

Methods included from Configurable

configure, keys, netrc?, reset!

Class Method Details

.clientLookerSDK::Client

API client based on configured options Configurable

Returns:



12
13
14
15
# File 'lib/looker-sdk.rb', line 12

def client
  @client = LookerSDK::Client.new(options) unless defined?(@client) && @client.same_options?(options)
  @client
end

Instance Method Details

#respond_to?(method_name, include_private = false) ⇒ Boolean

Returns:

  • (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

Returns:

  • (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