Module: SweeperAPI

Defined in:
lib/sweeper_api.rb,
lib/sweeper_api/version.rb

Defined Under Namespace

Modules: Middleware, Resources Classes: Client, Configuration

Constant Summary collapse

VERSION =
"0.0.1".freeze

Class Method Summary collapse

Class Method Details

.configurationObject



13
14
15
# File 'lib/sweeper_api.rb', line 13

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

.configure(&block) ⇒ Object



17
18
19
# File 'lib/sweeper_api.rb', line 17

def self.configure(&block)
  block.call(configuration)
end