Class: ShopifyCLI::Services::App::Serve::ServeService
- Inherits:
-
BaseService
- Object
- BaseService
- ShopifyCLI::Services::App::Serve::ServeService
- Defined in:
- lib/shopify_cli/services/app/serve/serve_service.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#host ⇒ Object
Returns the value of attribute host.
-
#no_update ⇒ Object
Returns the value of attribute no_update.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(host:, port:, no_update:, context:) ⇒ ServeService
constructor
A new instance of ServeService.
Methods inherited from BaseService
Constructor Details
#initialize(host:, port:, no_update:, context:) ⇒ ServeService
Returns a new instance of ServeService.
8 9 10 11 12 13 14 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 8 def initialize(host:, port:, no_update:, context:) @host = host @port = port @no_update = no_update @context = context super() end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
6 7 8 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 6 def context @context end |
#host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 6 def host @host end |
#no_update ⇒ Object
Returns the value of attribute no_update.
6 7 8 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 6 def no_update @no_update end |
#port ⇒ Object
Returns the value of attribute port.
6 7 8 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 6 def port @port end |
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'lib/shopify_cli/services/app/serve/serve_service.rb', line 16 def call raise NotImplementedError end |