Class: Apolo::ReaderConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/apolo/reader_config.rb

Overview

Provides the DSL used to configure Readers in Applications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeReaderConfig

Returns a new instance of ReaderConfig.



6
7
8
# File 'lib/apolo/reader_config.rb', line 6

def initialize
  @options = {}
end

Instance Attribute Details

#options(args = nil) ⇒ Object (readonly)

Reads/writes any options. It will passed down to the Reader. return [Object] The associated option

Parameters:

  • args (Object) (defaults to: nil)

    Any argument that will be passed to the Reader.



13
14
15
# File 'lib/apolo/reader_config.rb', line 13

def options
  @options
end