Class: Resteze::Client::RequestLogContext

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



233
234
235
# File 'lib/resteze/client.rb', line 233

def body
  @body
end

#headersObject

Returns the value of attribute headers.



233
234
235
# File 'lib/resteze/client.rb', line 233

def headers
  @headers
end

#methodObject

Returns the value of attribute method.



233
234
235
# File 'lib/resteze/client.rb', line 233

def method
  @method
end

#pathObject

Returns the value of attribute path.



233
234
235
# File 'lib/resteze/client.rb', line 233

def path
  @path
end

#query_paramsObject

Returns the value of attribute query_params.



233
234
235
# File 'lib/resteze/client.rb', line 233

def query_params
  @query_params
end

Instance Method Details

#dup_from_response(resp) ⇒ Object



235
236
237
238
239
# File 'lib/resteze/client.rb', line 235

def dup_from_response(resp)
  return self if resp.nil?

  dup
end