Class: Atr::Config
- Inherits:
-
ActiveSupport::OrderedOptions
- Object
- ActiveSupport::OrderedOptions
- Atr::Config
- Defined in:
- lib/atr/config.rb
Instance Method Summary collapse
- #authenticate? ⇒ Boolean
- #event_serializer? ⇒ Boolean
-
#initialize(options = {}) ⇒ Config
constructor
A new instance of Config.
- #scope? ⇒ Boolean
- #serialize_events_with? ⇒ Boolean
Constructor Details
#initialize(options = {}) ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/atr/config.rb', line 5 def initialize( = {}) super end |
Instance Method Details
#authenticate? ⇒ Boolean
9 10 11 |
# File 'lib/atr/config.rb', line 9 def authenticate? has_key?(:authenticate_with) end |
#event_serializer? ⇒ Boolean
17 18 19 |
# File 'lib/atr/config.rb', line 17 def event_serializer? has_key?(:event_serializer) end |
#scope? ⇒ Boolean
13 14 15 |
# File 'lib/atr/config.rb', line 13 def scope? has_key?(:scope_with) end |
#serialize_events_with? ⇒ Boolean
21 22 23 |
# File 'lib/atr/config.rb', line 21 def serialize_events_with? has_key?(:serialize_events_with) end |