Class: NinjaVanApi::Configuration
- Inherits:
-
Object
- Object
- NinjaVanApi::Configuration
- Defined in:
- lib/ninja_van_api/configuration.rb
Instance Attribute Summary collapse
-
#webhook_job_class ⇒ Object
Returns the value of attribute webhook_job_class.
-
#webhook_secrets ⇒ Object
Returns the value of attribute webhook_secrets.
Instance Method Summary collapse
Instance Attribute Details
#webhook_job_class ⇒ Object
Returns the value of attribute webhook_job_class.
10 11 12 |
# File 'lib/ninja_van_api/configuration.rb', line 10 def webhook_job_class @webhook_job_class end |
#webhook_secrets ⇒ Object
Returns the value of attribute webhook_secrets.
9 10 11 |
# File 'lib/ninja_van_api/configuration.rb', line 9 def webhook_secrets @webhook_secrets end |
Instance Method Details
#get_webhook_secret(country_code) ⇒ Object
16 17 18 |
# File 'lib/ninja_van_api/configuration.rb', line 16 def get_webhook_secret(country_code) @webhook_secrets[country_code.to_sym.downcase] end |