Class: Vindicia::Configuration
- Inherits:
-
Object
- Object
- Vindicia::Configuration
- Includes:
- Singleton
- Defined in:
- lib/vindicia/config.rb
Instance Attribute Summary collapse
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#login ⇒ Object
Returns the value of attribute login.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
- #configured! ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #is_configured? ⇒ Boolean
Constructor Details
#initialize ⇒ Configuration
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_version ⇒ Object
Returns the value of attribute api_version.
181 182 183 |
# File 'lib/vindicia/config.rb', line 181 def api_version @api_version end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
181 182 183 |
# File 'lib/vindicia/config.rb', line 181 def endpoint @endpoint end |
#login ⇒ Object
Returns the value of attribute login.
181 182 183 |
# File 'lib/vindicia/config.rb', line 181 def login @login end |
#namespace ⇒ Object
Returns the value of attribute namespace.
181 182 183 |
# File 'lib/vindicia/config.rb', line 181 def namespace @namespace end |
#password ⇒ Object
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
191 192 193 |
# File 'lib/vindicia/config.rb', line 191 def is_configured? @@configured end |