Class: DiscoApp::Configuration
- Inherits:
-
Object
- Object
- DiscoApp::Configuration
- Defined in:
- lib/disco_app/configuration.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Required configuration.
-
#app_proxy_prefix ⇒ Object
Set the below if using an application proxy.
-
#carrier_service_callback_url ⇒ Object
Set the below if providing a carrier service endpoint.
-
#real_charges ⇒ Object
(also: #real_charges?)
Set the below to create real Shopify charges.
-
#skip_carrier_request_verification ⇒ Object
(also: #skip_carrier_request_verification?)
Returns the value of attribute skip_carrier_request_verification.
-
#skip_oauth ⇒ Object
(also: #skip_oauth?)
Returns the value of attribute skip_oauth.
-
#skip_proxy_verification ⇒ Object
(also: #skip_proxy_verification?)
Optional configuration, usually useful for development environments.
-
#skip_webhook_verification ⇒ Object
(also: #skip_webhook_verification?)
Returns the value of attribute skip_webhook_verification.
-
#webhook_topics ⇒ Object
Set the list of Shopify webhook topics to register.
Instance Attribute Details
#app_name ⇒ Object
Required configuration.
6 7 8 |
# File 'lib/disco_app/configuration.rb', line 6 def app_name @app_name end |
#app_proxy_prefix ⇒ Object
Set the below if using an application proxy.
12 13 14 |
# File 'lib/disco_app/configuration.rb', line 12 def app_proxy_prefix @app_proxy_prefix end |
#carrier_service_callback_url ⇒ Object
Set the below if providing a carrier service endpoint.
15 16 17 |
# File 'lib/disco_app/configuration.rb', line 15 def carrier_service_callback_url @carrier_service_callback_url end |
#real_charges ⇒ Object Also known as: real_charges?
Set the below to create real Shopify charges.
18 19 20 |
# File 'lib/disco_app/configuration.rb', line 18 def real_charges @real_charges end |
#skip_carrier_request_verification ⇒ Object Also known as: skip_carrier_request_verification?
Returns the value of attribute skip_carrier_request_verification.
26 27 28 |
# File 'lib/disco_app/configuration.rb', line 26 def skip_carrier_request_verification @skip_carrier_request_verification end |
#skip_oauth ⇒ Object Also known as: skip_oauth?
Returns the value of attribute skip_oauth.
28 29 30 |
# File 'lib/disco_app/configuration.rb', line 28 def skip_oauth @skip_oauth end |
#skip_proxy_verification ⇒ Object Also known as: skip_proxy_verification?
Optional configuration, usually useful for development environments.
22 23 24 |
# File 'lib/disco_app/configuration.rb', line 22 def skip_proxy_verification @skip_proxy_verification end |
#skip_webhook_verification ⇒ Object Also known as: skip_webhook_verification?
Returns the value of attribute skip_webhook_verification.
24 25 26 |
# File 'lib/disco_app/configuration.rb', line 24 def skip_webhook_verification @skip_webhook_verification end |
#webhook_topics ⇒ Object
Set the list of Shopify webhook topics to register.
9 10 11 |
# File 'lib/disco_app/configuration.rb', line 9 def webhook_topics @webhook_topics end |