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.
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 |
# File 'lib/openlab_ruby.rb', line 22 def initialize @base_uri = 'https://openprojects.fab-manager.com' @api_version_path = '/api/v1' 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 |