Sha256: 8234af74d202023f1b4c524652fbab6b4d9e21156ebcce6e829d75d87485bc98
Contents?: true
Size: 412 Bytes
Versions: 37
Compression:
Stored size: 412 Bytes
Contents
module VagrantPlugins module AWS module Action # This can be used with "Call" built-in to check if the machine # is created and branch in the middleware. class IsCreated def initialize(app, env) @app = app end def call(env) env[:result] = env[:machine].state.id != :not_created @app.call(env) end end end end end
Version data entries
37 entries across 37 versions & 10 rubygems