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.



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

def body
  @body
end

#headersObject

Returns the value of attribute headers.



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

def headers
  @headers
end

#methodObject

Returns the value of attribute method.



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

def method
  @method
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#query_paramsObject

Returns the value of attribute query_params.



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

def query_params
  @query_params
end

Instance Method Details

#dup_from_response(resp) ⇒ Object



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

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

  dup
end