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.
-
#flow_actions ⇒ Object
Set Flow configuration.
-
#flow_triggers ⇒ Object
Returns the value of attribute flow_triggers.
-
#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_fields ⇒ Object
Define the list of fields to receive for each webhook topic.
-
#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.
19 20 21 |
# File 'lib/disco_app/configuration.rb', line 19 def app_proxy_prefix @app_proxy_prefix end |
#carrier_service_callback_url ⇒ Object
Set the below if providing a carrier service endpoint.
22 23 24 |
# File 'lib/disco_app/configuration.rb', line 22 def carrier_service_callback_url @carrier_service_callback_url end |
#flow_actions ⇒ Object
Set Flow configuration
15 16 17 |
# File 'lib/disco_app/configuration.rb', line 15 def flow_actions @flow_actions end |
#flow_triggers ⇒ Object
Returns the value of attribute flow_triggers.
16 17 18 |
# File 'lib/disco_app/configuration.rb', line 16 def flow_triggers @flow_triggers end |
#real_charges ⇒ Object Also known as: real_charges?
Set the below to create real Shopify charges.
25 26 27 |
# File 'lib/disco_app/configuration.rb', line 25 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.
33 34 35 |
# File 'lib/disco_app/configuration.rb', line 33 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.
35 36 37 |
# File 'lib/disco_app/configuration.rb', line 35 def skip_oauth @skip_oauth end |
#skip_proxy_verification ⇒ Object Also known as: skip_proxy_verification?
Optional configuration, usually useful for development environments.
29 30 31 |
# File 'lib/disco_app/configuration.rb', line 29 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.
31 32 33 |
# File 'lib/disco_app/configuration.rb', line 31 def skip_webhook_verification @skip_webhook_verification end |
#webhook_fields ⇒ Object
Define the list of fields to receive for each webhook topic.
12 13 14 |
# File 'lib/disco_app/configuration.rb', line 12 def webhook_fields @webhook_fields 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 |