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