Class: EPlat::ShopifyWebhook::Product

Inherits:
Product
  • Object
show all
Defined in:
lib/e_plat/resource/platform_specific/shopify_webhook/product.rb

Defined Under Namespace

Classes: Image, Option, Variant

Constant Summary

Constants included from Concerns::GraphQLable

Concerns::GraphQLable::FILTER_ARGS, Concerns::GraphQLable::QUERY_ARG_ARGS

Instance Attribute Summary

Attributes inherited from Base

#mapped_attributes, #mapping

Attributes included from Concerns::Aliases

#type_coercer

Class Method Summary collapse

Methods inherited from Product

#find_variant, #handle, #load_all_variants, #status, #variants_collection

Methods included from Concerns::Metafieldable

#add_metafield, #find_metafield, #metafields

Methods inherited from Base

cached_shopify_webhook?, client, #client, exclude_from_json, #formatted_id, #graphql_input, #headers, #include_root_in_json, inherited, #initialize, initialize_singleton!, #mapped?, #native_keys, platform_specific_class?, prefix=, #read_only?

Methods included from Countable

#count

Methods included from Concerns::GraphQLable

#graphql_mutation_string, #mutate_graphql, #remove_mutation_root_from

Methods included from Concerns::Aliases

#add_aliases!

Methods included from Concerns::FullJson

#as_full_json, #to_full_json

Methods included from Concerns::OverwriteRequestMethods

#collection_path, #element_path, included

Methods included from Concerns::OverwriteInstanceMethods

#as_eplat_json, #as_json, #create, #create_resource_for, #to_eplat_json, #to_json, #update

Constructor Details

This class inherits a constructor from EPlat::Base

Class Method Details

.graphql_fieldsObject



8
9
10
11
# File 'lib/e_plat/resource/platform_specific/shopify_webhook/product.rb', line 8

def self.graphql_fields
	warn "this is a cached webhook. request a live resource instead"
	EPlat::Shopify::Product.graphql_fields
end