Class: BigBang::DSL::Config
- Inherits:
-
Object
- Object
- BigBang::DSL::Config
- Defined in:
- lib/bigbang/dsl/config.rb
Instance Attribute Summary collapse
-
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
-
#dns_opts ⇒ Object
Returns the value of attribute dns_opts.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#region ⇒ Object
Returns the value of attribute region.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
- #dns(d) ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 |
# File 'lib/bigbang/dsl/config.rb', line 7 def initialize self.region = "us-east-1" end |
Instance Attribute Details
#access_key_id ⇒ Object
Returns the value of attribute access_key_id.
4 5 6 |
# File 'lib/bigbang/dsl/config.rb', line 4 def access_key_id @access_key_id end |
#dns_opts ⇒ Object
Returns the value of attribute dns_opts.
4 5 6 |
# File 'lib/bigbang/dsl/config.rb', line 4 def dns_opts @dns_opts end |
#domain ⇒ Object
Returns the value of attribute domain.
4 5 6 |
# File 'lib/bigbang/dsl/config.rb', line 4 def domain @domain end |
#region ⇒ Object
Returns the value of attribute region.
4 5 6 |
# File 'lib/bigbang/dsl/config.rb', line 4 def region @region end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
4 5 6 |
# File 'lib/bigbang/dsl/config.rb', line 4 def secret_key @secret_key end |
Instance Method Details
#dns(d) ⇒ Object
5 |
# File 'lib/bigbang/dsl/config.rb', line 5 def dns(d) @dns_opts = d; end |