Class: Faas::Config
- Inherits:
-
Object
- Object
- Faas::Config
- Defined in:
- lib/faas.rb
Overview
Faas.config do |config|
config.api_key = ENV['FAAS_API_KEY']
config.api_secret = ENV['FAAS_API_SECRET']
end
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#cookie_signing_secret ⇒ Object
Returns the value of attribute cookie_signing_secret.
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/faas.rb', line 14 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
14 15 16 |
# File 'lib/faas.rb', line 14 def api_secret @api_secret end |
#cookie_signing_secret ⇒ Object
Returns the value of attribute cookie_signing_secret.
14 15 16 |
# File 'lib/faas.rb', line 14 def @cookie_signing_secret end |