Class: Faas::Config

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



14
15
16
# File 'lib/faas.rb', line 14

def api_key
  @api_key
end

#api_secretObject

Returns the value of attribute api_secret.



14
15
16
# File 'lib/faas.rb', line 14

def api_secret
  @api_secret
end

Returns the value of attribute cookie_signing_secret.



14
15
16
# File 'lib/faas.rb', line 14

def cookie_signing_secret
  @cookie_signing_secret
end