Class: Openlab::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/openlab_ruby.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_pathObject (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_secretObject

Returns the value of attribute app_secret.



19
20
21
# File 'lib/openlab_ruby.rb', line 19

def app_secret
  @app_secret
end

#base_uriObject

Returns the value of attribute base_uri.



19
20
21
# File 'lib/openlab_ruby.rb', line 19

def base_uri
  @base_uri
end