Class: Envme::Configuration
- Inherits:
-
Object
- Object
- Envme::Configuration
- Defined in:
- lib/envme/configuration.rb
Instance Attribute Summary collapse
-
#acl_token ⇒ Object
Returns the value of attribute acl_token.
-
#options ⇒ Object
Returns the value of attribute options.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url = "localhost:8500", acl_token = 'anonymous', options = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(url = "localhost:8500", acl_token = 'anonymous', options = {}) ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/envme/configuration.rb', line 5 def initialize(url="localhost:8500", acl_token= 'anonymous', = {}) @url = url @acl_token = acl_token @options = end |
Instance Attribute Details
#acl_token ⇒ Object
Returns the value of attribute acl_token.
3 4 5 |
# File 'lib/envme/configuration.rb', line 3 def acl_token @acl_token end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/envme/configuration.rb', line 3 def @options end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/envme/configuration.rb', line 3 def url @url end |