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
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_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

#httparty_verifyObject

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_peerObject

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