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.



183
184
185
# File 'lib/vindicia/config.rb', line 183

def initialize
  @@configured = false      
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



181
182
183
# File 'lib/vindicia/config.rb', line 181

def api_version
  @api_version
end

#endpointObject

Returns the value of attribute endpoint.



181
182
183
# File 'lib/vindicia/config.rb', line 181

def endpoint
  @endpoint
end

#loginObject

Returns the value of attribute login.



181
182
183
# File 'lib/vindicia/config.rb', line 181

def 
  @login
end

#namespaceObject

Returns the value of attribute namespace.



181
182
183
# File 'lib/vindicia/config.rb', line 181

def namespace
  @namespace
end

#passwordObject

Returns the value of attribute password.



181
182
183
# File 'lib/vindicia/config.rb', line 181

def password
  @password
end

Instance Method Details

#configured!Object



187
188
189
# File 'lib/vindicia/config.rb', line 187

def configured!
  @@configured = true
end

#is_configured?Boolean

Returns:

  • (Boolean)


191
192
193
# File 'lib/vindicia/config.rb', line 191

def is_configured?
  @@configured
end