module Bubbles
Attributes
configuration[W]
Public Class Methods
configuration()
click to toggle source
# File lib/bubbles/config.rb, line 31 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
Configure the Bubbles
instance.
Use this method if you want to configure the Bubbles
instance, typically during initialization of your Gem or application.
@example In app/config/initializers/bubbles.rb
Bubbles.configure do |config| config.endpoints = [ { :type => :get, :location => :version, :authenticated => false, :api_key_required => false } ] end
# File lib/bubbles/config.rb, line 27 def self.configure yield(configuration) end