Class: TrustlinkConfig
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- TrustlinkConfig
- Defined in:
- lib/app/models/trustlink_config.rb
Class Method Summary collapse
Class Method Details
.bot_ips ⇒ Object
3 4 5 |
# File 'lib/app/models/trustlink_config.rb', line 3 def bot_ips where(name: 'ip').pluck(:value) end |
.start_code ⇒ Object
7 8 9 |
# File 'lib/app/models/trustlink_config.rb', line 7 def start_code where(name: 'start').first.value end |
.stop_code ⇒ Object
11 12 13 |
# File 'lib/app/models/trustlink_config.rb', line 11 def stop_code where(name: 'end').first.value end |