class ActiveShotgun::Config
Constants
- DEFAULT_CONFIG
Attributes
config[R]
Public Class Methods
new()
click to toggle source
# File lib/active_shotgun/config.rb, line 17 def initialize @config = Struct.new(*DEFAULT_CONFIG.keys).new(*DEFAULT_CONFIG.values) end
Public Instance Methods
configure() { |config| ... }
click to toggle source
# File lib/active_shotgun/config.rb, line 38 def configure(&block) return unless block yield(@config) end