Class: DiscoApp::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/disco_app/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#app_nameObject

Required configuration.



6
7
8
# File 'lib/disco_app/configuration.rb', line 6

def app_name
  @app_name
end

#app_proxy_prefixObject

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_urlObject

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_actionsObject

Set Flow configuration



15
16
17
# File 'lib/disco_app/configuration.rb', line 15

def flow_actions
  @flow_actions
end

#flow_triggersObject

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_chargesObject 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_verificationObject 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_oauthObject 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_verificationObject 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_verificationObject 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_fieldsObject

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_topicsObject

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