Class: LogoDev::Configuration
- Inherits:
-
Object
- Object
- LogoDev::Configuration
- Defined in:
- lib/logo_dev.rb
Instance Attribute Summary collapse
-
#publishable_key ⇒ Object
Returns the value of attribute publishable_key.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 |
# File 'lib/logo_dev.rb', line 11 def initialize @secret_key = ENV["LOGODEV_SECRET_KEY"] @publishable_key = ENV["LOGODEV_PUBLISHABLE_KEY"] end |
Instance Attribute Details
#publishable_key ⇒ Object
Returns the value of attribute publishable_key.
9 10 11 |
# File 'lib/logo_dev.rb', line 9 def publishable_key @publishable_key end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
9 10 11 |
# File 'lib/logo_dev.rb', line 9 def secret_key @secret_key end |