Method: Riddl::SSEImplementation#initialize
- Defined in:
- lib/ruby/riddl/implementation.rb
#initialize(ws) ⇒ SSEImplementation
Returns a new instance of SSEImplementation.
29 30 31 32 33 34 35 36 |
# File 'lib/ruby/riddl/implementation.rb', line 29 def initialize(ws) @ws = ws @r = ws[:r] # the matching resource path @s = ws[:s] # the matching resource path schema @match = ws[:match] # the path of the branch matching, important for recursive @env = ws[:env] # environment (all headers) @a = ws[:a] # args to run command end |