Class: MQ::Options

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

Overview

Options class for configuring mq queries

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

Returns a new instance of Options.



14
15
16
# File 'lib/mq.rb', line 14

def initialize
  @input_format = nil
end

Instance Attribute Details

#input_formatObject

Returns the value of attribute input_format.



12
13
14
# File 'lib/mq.rb', line 12

def input_format
  @input_format
end

Instance Method Details

#to_hObject



18
19
20
21
22
# File 'lib/mq.rb', line 18

def to_h
  {
    input_format: @input_format,
  }.compact
end