Sha256: d456cd372ce008b1f7589e01ea1b97c40eef13ff9c7a04088b9472be9cd4aaf2
Contents?: true
Size: 869 Bytes
Versions: 1
Compression:
Stored size: 869 Bytes
Contents
require 'ruby_terraform/version' require 'ruby_terraform/commands' module RubyTerraform class << self attr_accessor :configuration def configure @configuration ||= Configuration.new yield(@configuration) end def clean(opts = {}) Commands::Clean.new.execute(opts) end def get(opts = {}) Commands::Get.new.execute(opts) end def apply(opts = {}) Commands::Apply.new.execute(opts) end def destroy(opts = {}) Commands::Destroy.new.execute(opts) end def remote_config(opts = {}) Commands::RemoteConfig.new.execute(opts) end def output(opts = {}) Commands::Output.new.execute(opts) end def reset! @configuration = nil end end class Configuration attr_accessor :binary def initialize @binary = 'terraform' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-terraform-0.3.0 | lib/ruby_terraform.rb |