lib/disco_app/configuration.rb in disco_app-0.16.1 vs lib/disco_app/configuration.rb in disco_app-0.17.0
- old
+ new
@@ -18,20 +18,20 @@
# Set the below if providing a carrier service endpoint.
attr_accessor :carrier_service_callback_url
# Set the below to create real Shopify charges.
attr_accessor :real_charges
- alias_method :real_charges?, :real_charges
+ alias real_charges? real_charges
# Optional configuration, usually useful for development environments.
attr_accessor :skip_proxy_verification
- alias_method :skip_proxy_verification?, :skip_proxy_verification
+ alias skip_proxy_verification? skip_proxy_verification
attr_accessor :skip_webhook_verification
- alias_method :skip_webhook_verification?, :skip_webhook_verification
+ alias skip_webhook_verification? skip_webhook_verification
attr_accessor :skip_carrier_request_verification
- alias_method :skip_carrier_request_verification?, :skip_carrier_request_verification
+ alias skip_carrier_request_verification? skip_carrier_request_verification
attr_accessor :skip_oauth
- alias_method :skip_oauth?, :skip_oauth
+ alias skip_oauth? skip_oauth
end
def self.configuration
@configuration ||= Configuration.new