Class: Vindicia::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/vindicia/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



164
165
166
# File 'lib/vindicia/config.rb', line 164

def initialize
  @@configured = false      
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



162
163
164
# File 'lib/vindicia/config.rb', line 162

def api_version
  @api_version
end

#endpointObject

Returns the value of attribute endpoint.



162
163
164
# File 'lib/vindicia/config.rb', line 162

def endpoint
  @endpoint
end

#loginObject

Returns the value of attribute login.



162
163
164
# File 'lib/vindicia/config.rb', line 162

def 
  @login
end

#namespaceObject

Returns the value of attribute namespace.



162
163
164
# File 'lib/vindicia/config.rb', line 162

def namespace
  @namespace
end

#passwordObject

Returns the value of attribute password.



162
163
164
# File 'lib/vindicia/config.rb', line 162

def password
  @password
end

Instance Method Details

#configured!Object



168
169
170
# File 'lib/vindicia/config.rb', line 168

def configured!
  @@configured = true
end

#is_configured?Boolean

Returns:

  • (Boolean)


172
173
174
# File 'lib/vindicia/config.rb', line 172

def is_configured?
  @@configured
end