Module: IPWhitelist

Defined in:
lib/ip_whitelist/version.rb,
lib/rails_hq_ip_whitelist.rb,
lib/ip_whitelist/controller.rb

Defined Under Namespace

Modules: Controller Classes: Configuration

Constant Summary collapse

VERSION =
'0.0.9'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



9
10
11
# File 'lib/rails_hq_ip_whitelist.rb', line 9

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

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



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

def self.configure
  yield(configuration)
end