Class: ShopifyCLI::Services::App::Tunnel::StopService
- Inherits:
-
BaseService
- Object
- BaseService
- ShopifyCLI::Services::App::Tunnel::StopService
- Defined in:
- lib/shopify_cli/services/app/tunnel/stop_service.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(context:) ⇒ StopService
constructor
A new instance of StopService.
Methods inherited from BaseService
Constructor Details
#initialize(context:) ⇒ StopService
Returns a new instance of StopService.
8 9 10 11 |
# File 'lib/shopify_cli/services/app/tunnel/stop_service.rb', line 8 def initialize(context:) @context = context super() end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
6 7 8 |
# File 'lib/shopify_cli/services/app/tunnel/stop_service.rb', line 6 def context @context end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/shopify_cli/services/app/tunnel/stop_service.rb', line 13 def call ShopifyCLI::Tunnel.stop(context) end |