Class: Atr::Config

Inherits:
ActiveSupport::OrderedOptions
  • Object
show all
Defined in:
lib/atr/config.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Config

Returns a new instance of Config.



5
6
7
# File 'lib/atr/config.rb', line 5

def initialize(options = {})
  super
end

Instance Method Details

#authenticate?Boolean

Returns:

  • (Boolean)


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

def authenticate?
  has_key?(:authenticate_with)
end

#event_serializer?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/atr/config.rb', line 17

def event_serializer?
  has_key?(:event_serializer)
end

#scope?Boolean

Returns:

  • (Boolean)


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

def scope?
  has_key?(:scope_with)
end

#serialize_events_with?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/atr/config.rb', line 21

def serialize_events_with?
  has_key?(:serialize_events_with)
end