Class: ShopifyGraphql::GetAppSubscription
- Inherits:
-
Object
- Object
- ShopifyGraphql::GetAppSubscription
- Includes:
- Query
- Defined in:
- app/graphql/shopify_graphql/get_app_subscription.rb
Constant Summary collapse
- QUERY =
<<~GRAPHQL #{AppSubscriptionFields::FRAGMENT} query($id: ID!) { node(id: $id) { ... AppSubscriptionFields } } GRAPHQL
Instance Method Summary collapse
Methods included from Query
Instance Method Details
#call(id:) ⇒ Object
15 16 17 18 19 |
# File 'app/graphql/shopify_graphql/get_app_subscription.rb', line 15 def call(id:) response = execute(QUERY, id: id) response.data = parse_data(response.data) response end |