Class: ShopifyCLI::Services::ReportingService
- Inherits:
-
BaseService
- Object
- BaseService
- ShopifyCLI::Services::ReportingService
- Defined in:
- lib/shopify_cli/services/reporting_service.rb
Instance Attribute Summary collapse
-
#enable ⇒ Object
readonly
Returns the value of attribute enable.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(enable:) ⇒ ReportingService
constructor
A new instance of ReportingService.
Methods inherited from BaseService
Constructor Details
#initialize(enable:) ⇒ ReportingService
Returns a new instance of ReportingService.
6 7 8 9 |
# File 'lib/shopify_cli/services/reporting_service.rb', line 6 def initialize(enable:) @enable = enable super() end |
Instance Attribute Details
#enable ⇒ Object (readonly)
Returns the value of attribute enable.
4 5 6 |
# File 'lib/shopify_cli/services/reporting_service.rb', line 4 def enable @enable end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/shopify_cli/services/reporting_service.rb', line 11 def call ReportingConfigurationController.enable_reporting(enable) end |