class StackerBee::Middleware::CloudStackAPI
Constants
- DEFAULT_PATH
- RESPONSE_TYPE
Public Instance Methods
before(env)
click to toggle source
# File lib/stacker_bee/middleware/cloud_stack_api.rb, line 7 def before(env) env.request.params.merge!( api_key: api_key, command: env.request.endpoint_name, response: RESPONSE_TYPE ) env.request.path ||= DEFAULT_PATH end