Class: Arctic::UI::Configuration
- Inherits:
-
Object
- Object
- Arctic::UI::Configuration
- Defined in:
- lib/arctic/ui/configuration.rb
Instance Attribute Summary collapse
-
#cache ⇒ Object
Returns the value of attribute cache.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 |
# File 'lib/arctic/ui/configuration.rb', line 6 def initialize self.client_id ||= '2e088d752d61c023fbc91ca6c585a978a030187c4a18fbfb34ea39d78ef3c6a2' self.client_secret ||= '3675b0433b39d93eff54921e45c948c42ed13df8425d9f686a038de7685d30e0' self.url ||= 'http://localhost:5000/v1' self.scope ||= 'ui account:read account:update shops:read' end |
Instance Attribute Details
#cache ⇒ Object
Returns the value of attribute cache.
4 5 6 |
# File 'lib/arctic/ui/configuration.rb', line 4 def cache @cache end |
#client_id ⇒ Object
Returns the value of attribute client_id.
4 5 6 |
# File 'lib/arctic/ui/configuration.rb', line 4 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
4 5 6 |
# File 'lib/arctic/ui/configuration.rb', line 4 def client_secret @client_secret end |
#scope ⇒ Object
Returns the value of attribute scope.
4 5 6 |
# File 'lib/arctic/ui/configuration.rb', line 4 def scope @scope end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/arctic/ui/configuration.rb', line 4 def url @url end |