module Redash::ClassMethods

Public Instance Methods

client() click to toggle source
# File lib/redash.rb, line 8
def client
  @client ||= Client.new(config)
end
client=(new_client) click to toggle source
# File lib/redash.rb, line 12
def client=(new_client)
  @client = new_client
end
config() click to toggle source
# File lib/redash.rb, line 16
def config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source
# File lib/redash.rb, line 20
def configure
  yield config
end