Class: OpenapiFirst::Inbox

Inherits:
Hash
  • Object
show all
Defined in:
lib/openapi_first/inbox.rb

Overview

An instance of this gets passed to handler functions in the Responder.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(env) ⇒ Inbox

Returns a new instance of Inbox.



8
9
10
11
# File 'lib/openapi_first/inbox.rb', line 8

def initialize(env)
  @env = env
  super()
end

Instance Attribute Details

#envObject (readonly)

Returns the value of attribute env.



6
7
8
# File 'lib/openapi_first/inbox.rb', line 6

def env
  @env
end