Class: Sox::RequestOptions

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

Instance Method Summary collapse

Constructor Details

#initialize(method, options = {}) ⇒ RequestOptions

Returns a new instance of RequestOptions.



7
8
9
10
# File 'lib/sox/request_options.rb', line 7

def initialize(method, options={})
  @method = method
  @options = options
end

Instance Method Details

#requestObject



3
4
5
# File 'lib/sox/request_options.rb', line 3

def request
  generate_xml
end