Class: OptOut::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/opt_out.rb

Overview

Options:

:adapter - subclass of OptOut::Adapters::AbstractAdapter
:options - instantiation options to pass to `adapter`

Instance Attribute Summary collapse

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter

Returns:

  • (Object)

    the current value of adapter



27
28
29
# File 'lib/opt_out.rb', line 27

def adapter
  @adapter
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



27
28
29
# File 'lib/opt_out.rb', line 27

def options
  @options
end