Class: Bitodeme::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/bitodeme/configuration.rb

Overview

Configuration for Bitodeme

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#client_idObject (readonly)

Returns the value of attribute client_id.



8
9
10
# File 'lib/bitodeme/configuration.rb', line 8

def client_id
  @client_id
end

#client_secretObject (readonly)

Returns the value of attribute client_secret.



8
9
10
# File 'lib/bitodeme/configuration.rb', line 8

def client_secret
  @client_secret
end

#hostnameObject (readonly)

Returns the value of attribute hostname.



8
9
10
# File 'lib/bitodeme/configuration.rb', line 8

def hostname
  @hostname
end

#loggingObject (readonly)

Returns the value of attribute logging.



8
9
10
# File 'lib/bitodeme/configuration.rb', line 8

def logging
  @logging
end

Class Method Details

.buildObject



13
14
15
# File 'lib/bitodeme/configuration.rb', line 13

def self.build
  $bitodeme_configuration ||= instance
end