Class: EphemeralResponse::Request

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ephemeral_response/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri, request) ⇒ Request

Returns a new instance of Request.



7
8
9
10
# File 'lib/ephemeral_response/request.rb', line 7

def initialize(uri, request)
  @uri = uri
  super request
end

Instance Attribute Details

#uriObject (readonly)

Returns the value of attribute uri.



3
4
5
# File 'lib/ephemeral_response/request.rb', line 3

def uri
  @uri
end