Class: Awsome::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/awsome.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



78
79
80
81
82
83
84
# File 'lib/awsome.rb', line 78

def initialize
  @region = ENV['REGION']
  @url = ENV['EC2_URL']
  @aws_access_key = ENV['AWS_ACCESS_KEY']
  @aws_secret_key = ENV['AWS_SECRET_KEY']
  @show_empty_fields = true
end

Instance Attribute Details

#aws_access_keyObject

Returns the value of attribute aws_access_key.



75
76
77
# File 'lib/awsome.rb', line 75

def aws_access_key
  @aws_access_key
end

#aws_secret_keyObject

Returns the value of attribute aws_secret_key.



75
76
77
# File 'lib/awsome.rb', line 75

def aws_secret_key
  @aws_secret_key
end

#connection_timeoutObject

Returns the value of attribute connection_timeout.



75
76
77
# File 'lib/awsome.rb', line 75

def connection_timeout
  @connection_timeout
end

#debugObject

Returns the value of attribute debug.



75
76
77
# File 'lib/awsome.rb', line 75

def debug
  @debug
end

#regionObject

Returns the value of attribute region.



75
76
77
# File 'lib/awsome.rb', line 75

def region
  @region
end

#request_timeoutObject

Returns the value of attribute request_timeout.



75
76
77
# File 'lib/awsome.rb', line 75

def request_timeout
  @request_timeout
end

#show_empty_fieldsObject

Returns the value of attribute show_empty_fields.



75
76
77
# File 'lib/awsome.rb', line 75

def show_empty_fields
  @show_empty_fields
end

#show_requestObject

Returns the value of attribute show_request.



75
76
77
# File 'lib/awsome.rb', line 75

def show_request
  @show_request
end

#stacksObject

Returns the value of attribute stacks.



75
76
77
# File 'lib/awsome.rb', line 75

def stacks
  @stacks
end

#urlObject

Returns the value of attribute url.



75
76
77
# File 'lib/awsome.rb', line 75

def url
  @url
end

#verboseObject

Returns the value of attribute verbose.



75
76
77
# File 'lib/awsome.rb', line 75

def verbose
  @verbose
end