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.



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

def initialize
  @input_format = nil
end

Instance Attribute Details

#input_formatObject

Returns the value of attribute input_format.



16
17
18
# File 'lib/mq.rb', line 16

def input_format
  @input_format
end

Instance Method Details

#to_hObject



22
23
24
25
26
# File 'lib/mq.rb', line 22

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