Sha256: 3601afd7191d5c74c15e9e10597fd77c982c11f6cc6527a443d81d50cb0598d1

Contents?: true

Size: 408 Bytes

Versions: 11

Compression:

Stored size: 408 Bytes

Contents

module HashiCorp

    module VagrantVMwarefusion

        module Action

            class HasSnapshot

                def initialize(app, env)
                    @app = app
                end

                def call(env)

                    env[:result] = env[:machine].provider.driver.has_snapshot?

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-multiprovider-snap-0.0.12 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.11 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.10 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.9 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.8 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.7 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.6 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.5 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.4 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-zz-multiprovider-snap-0.0.3 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb
vagrant-zz-multiprovider-snap-0.0.2 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/has_snapshot.rb