Method: Atum::Core::Request#initialize
- Defined in:
- lib/atum/core/request.rb
#initialize(connection, method, path, options) ⇒ Request
Returns a new instance of Request.
4 5 6 7 8 9 10 11 12 |
# File 'lib/atum/core/request.rb', line 4 def initialize(connection, method, path, ) @connection = connection @method = method @path = path @headers = [:headers] || {} @body = [:body] || nil @query = [:query] || {} @envelope_name = [:envelope_name] || 'data' end |