Class: Openlab::Config
- Inherits:
-
Object
- Object
- Openlab::Config
- Defined in:
- lib/openlab_ruby.rb
Instance Attribute Summary collapse
-
#api_version_path ⇒ Object
readonly
Returns the value of attribute api_version_path.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#httparty_verify ⇒ Object
Returns the value of attribute httparty_verify.
-
#httparty_verify_peer ⇒ Object
Returns the value of attribute httparty_verify_peer.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
22 23 24 25 26 27 |
# File 'lib/openlab_ruby.rb', line 22 def initialize @base_uri = 'https://openprojects.fab-manager.com' @api_version_path = '/api/v1' @httparty_verify = true @httparty_verify_peer = true end |
Instance Attribute Details
#api_version_path ⇒ Object (readonly)
Returns the value of attribute api_version_path.
20 21 22 |
# File 'lib/openlab_ruby.rb', line 20 def api_version_path @api_version_path end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
19 20 21 |
# File 'lib/openlab_ruby.rb', line 19 def app_secret @app_secret end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
19 20 21 |
# File 'lib/openlab_ruby.rb', line 19 def base_uri @base_uri end |
#httparty_verify ⇒ Object
Returns the value of attribute httparty_verify.
19 20 21 |
# File 'lib/openlab_ruby.rb', line 19 def httparty_verify @httparty_verify end |
#httparty_verify_peer ⇒ Object
Returns the value of attribute httparty_verify_peer.
19 20 21 |
# File 'lib/openlab_ruby.rb', line 19 def httparty_verify_peer @httparty_verify_peer end |