Class: Vaml::Configuration
- Inherits:
-
Object
- Object
- Vaml::Configuration
- Defined in:
- lib/vaml/configuration.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#organization ⇒ Object
Returns the value of attribute organization.
-
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(options) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(options) ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 9 |
# File 'lib/vaml/configuration.rb', line 4 def initialize() @host = [:host] @token = [:token] @organization = [:organization] @ssl_verify = [:ssl_verify] end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/vaml/configuration.rb', line 3 def host @host end |
#organization ⇒ Object
Returns the value of attribute organization.
3 4 5 |
# File 'lib/vaml/configuration.rb', line 3 def organization @organization end |
#ssl_verify ⇒ Object
Returns the value of attribute ssl_verify.
3 4 5 |
# File 'lib/vaml/configuration.rb', line 3 def ssl_verify @ssl_verify end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/vaml/configuration.rb', line 3 def token @token end |