module Alcatraz::Client::Configuration

Constants

DEFAULT_API_URL
VALID_OPTIONS

Public Class Methods

extended(base) click to toggle source
# File lib/alcatraz/client/configuration.rb, line 9
def self.extended(base)
  base.reset
end

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/alcatraz/client/configuration.rb, line 17
def configure
  yield self
end
options() click to toggle source
# File lib/alcatraz/client/configuration.rb, line 21
def options
  Hash[ * VALID_OPTIONS.map { |key| [key, send(key)] }.flatten ]
end
reset() click to toggle source
# File lib/alcatraz/client/configuration.rb, line 13
def reset
  self.api_url = DEFAULT_API_URL
end