Sha256: 60b2d0ec2b48155f2437c95e307c58b3a78786c9349825a6acec74de787d922a

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

class TestLab
  class Network

    module Lifecycle

      # Build the network
      def build
        self.create
        self.up
        self.provision

        true
      end

      # Demolish the network
      def demolish
        self.deprovision
        self.down
        self.destroy

        true
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testlab-1.1.0 lib/testlab/network/lifecycle.rb