Sha256: bb7ef8437826c9cbe0416400595d09b1bbe8798fb4aabf933b24d0b25f67c640

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

class Glb::CLI
  class Base
    include Glb::Util::Sh

    attr_reader :options
    def initialize(options)
			@options = options
			@name = options[:name] # IE: demo-web-dev
    end

    def region
      @options[:region] || ENV['GOOGLE_REGION'] || "us-central1"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glb-0.1.1 lib/glb/cli/base.rb