Class: Envme::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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', options = {})
  @url       = url
  @acl_token = acl_token
  @options   = options
end

Instance Attribute Details

#acl_tokenObject

Returns the value of attribute acl_token.



3
4
5
# File 'lib/envme/configuration.rb', line 3

def acl_token
  @acl_token
end

#optionsObject

Returns the value of attribute options.



3
4
5
# File 'lib/envme/configuration.rb', line 3

def options
  @options
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/envme/configuration.rb', line 3

def url
  @url
end