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.



66
67
68
69
70
71
72
# File 'lib/awsome.rb', line 66

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.



63
64
65
# File 'lib/awsome.rb', line 63

def aws_access_key
  @aws_access_key
end

#aws_secret_keyObject

Returns the value of attribute aws_secret_key.



63
64
65
# File 'lib/awsome.rb', line 63

def aws_secret_key
  @aws_secret_key
end

#connection_timeoutObject

Returns the value of attribute connection_timeout.



63
64
65
# File 'lib/awsome.rb', line 63

def connection_timeout
  @connection_timeout
end

#debugObject

Returns the value of attribute debug.



63
64
65
# File 'lib/awsome.rb', line 63

def debug
  @debug
end

#regionObject

Returns the value of attribute region.



63
64
65
# File 'lib/awsome.rb', line 63

def region
  @region
end

#request_timeoutObject

Returns the value of attribute request_timeout.



63
64
65
# File 'lib/awsome.rb', line 63

def request_timeout
  @request_timeout
end

#show_empty_fieldsObject

Returns the value of attribute show_empty_fields.



63
64
65
# File 'lib/awsome.rb', line 63

def show_empty_fields
  @show_empty_fields
end

#show_requestObject

Returns the value of attribute show_request.



63
64
65
# File 'lib/awsome.rb', line 63

def show_request
  @show_request
end

#stacksObject

Returns the value of attribute stacks.



63
64
65
# File 'lib/awsome.rb', line 63

def stacks
  @stacks
end

#urlObject

Returns the value of attribute url.



63
64
65
# File 'lib/awsome.rb', line 63

def url
  @url
end

#verboseObject

Returns the value of attribute verbose.



63
64
65
# File 'lib/awsome.rb', line 63

def verbose
  @verbose
end