Class: BotVerification::IpRange
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- BotVerification::IpRange
- Includes:
- IpRangeModel
- Defined in:
- lib/bot_verification/ip_range_model.rb
Overview
Default model class that uses the configurable table name This is used if you don't create your own model
Class Method Summary collapse
Class Method Details
.table_name ⇒ Object
124 125 126 127 128 129 130 |
# File 'lib/bot_verification/ip_range_model.rb', line 124 def self.table_name if @table_name.respond_to?(:call) @table_name.call else @table_name || BotVerification.configuration.table_name end end |