Module: EPlat
- Extended by:
- Dry::Configurable
- Defined in:
- lib/e_plat.rb,
lib/e_plat/types.rb,
lib/e_plat/client.rb,
lib/e_plat/engine.rb,
lib/e_plat/current.rb,
lib/e_plat/mapping.rb,
lib/e_plat/session.rb,
lib/e_plat/version.rb,
lib/e_plat/connection.rb,
lib/e_plat/initializer.rb,
lib/e_plat/mapping/base.rb,
lib/e_plat/type_coercer.rb,
lib/e_plat/resource/base.rb,
lib/e_plat/resource/shop.rb,
lib/e_plat/resource/order.rb,
lib/e_plat/resource/product.rb,
lib/e_plat/resource/webhook.rb,
lib/e_plat/resource/countable.rb,
lib/e_plat/resource/metafield.rb,
lib/e_plat/resource/collection.rb,
lib/e_plat/resource/script_tag.rb,
lib/e_plat/resource/product/image.rb,
lib/e_plat/resource/concerns/dirty.rb,
lib/e_plat/resource/product/option.rb,
lib/e_plat/resource/order/line_item.rb,
lib/e_plat/resource/product/variant.rb,
lib/e_plat/mapping/request_body_root.rb,
lib/e_plat/resource/concerns/aliases.rb,
lib/e_plat/resource/order/Consignment.rb,
lib/e_plat/resource/order/fulfillment.rb,
lib/e_plat/client/default_request_args.rb,
lib/e_plat/errors/incorrect_type_error.rb,
lib/e_plat/resource/concerns/full_json.rb,
lib/e_plat/errors/missing_session_error.rb,
lib/e_plat/mapping/bigcommerce/v_3/shop.rb,
lib/e_plat/resource/attribute_interface.rb,
lib/e_plat/resource/order/shipping_line.rb,
lib/e_plat/mapping/bigcommerce/v_3/order.rb,
lib/e_plat/mapping/shopify/v_2024_01/shop.rb,
lib/e_plat/mapping/shopify/v_2024_07/shop.rb,
lib/e_plat/resource/order/billing_address.rb,
lib/e_plat/resource/paginated/link_params.rb,
lib/e_plat/mapping/bigcommerce/v_3/product.rb,
lib/e_plat/mapping/bigcommerce/v_3/webhook.rb,
lib/e_plat/mapping/shopify/v_2024_01/order.rb,
lib/e_plat/mapping/shopify/v_2024_07/order.rb,
lib/e_plat/mapping/virtual_collection/base.rb,
lib/e_plat/resource/concerns/graph_q_lable.rb,
lib/e_plat/resource/concerns/metafieldable.rb,
lib/e_plat/resource/order/shipping_address.rb,
lib/e_plat/resource/paginated/link_headers.rb,
lib/e_plat/mapping/bigcommerce/v_3/metafield.rb,
lib/e_plat/mapping/shopify/v_2024_01/product.rb,
lib/e_plat/mapping/shopify/v_2024_01/webhook.rb,
lib/e_plat/mapping/shopify/v_2024_07/product.rb,
lib/e_plat/mapping/shopify/v_2024_07/webhook.rb,
lib/e_plat/errors/missing_migration_key_error.rb,
lib/e_plat/mapping/bigcommerce/v_3/script_tag.rb,
lib/e_plat/client/platform_convenience_methods.rb,
lib/e_plat/mapping/shopify/v_2024_01/metafield.rb,
lib/e_plat/mapping/shopify/v_2024_07/metafield.rb,
lib/e_plat/mapping/shopify/v_2024_01/script_tag.rb,
lib/e_plat/mapping/shopify/v_2024_07/script_tag.rb,
lib/e_plat/mapping/bigcommerce/v_3/product/image.rb,
lib/e_plat/resource/product/variant/option_value.rb,
lib/e_plat/mapping/bigcommerce/v_3/product/option.rb,
lib/e_plat/mapping/bigcommerce/v_3/order/line_item.rb,
lib/e_plat/mapping/bigcommerce/v_3/product/variant.rb,
lib/e_plat/mapping/shopify/v_2024_01/product/image.rb,
lib/e_plat/mapping/shopify/v_2024_07/product/image.rb,
lib/e_plat/mapping/shopify/v_2024_07/product/option.rb,
lib/e_plat/mapping/shopify/v_2024_01/product/variant.rb,
lib/e_plat/mapping/shopify/v_2024_07/product/variant.rb,
lib/e_plat/resource/concerns/overwrite_request_methods.rb,
lib/e_plat/resource/concerns/overwrite_instance_methods.rb,
lib/e_plat/mapping/bigcommerce/v_3/order/billing_address.rb,
lib/e_plat/mapping/bigcommerce/v_3/order/shipping_address.rb,
lib/e_plat/mapping/shopify/v_2024_01/order/billing_address.rb,
lib/e_plat/mapping/shopify/v_2024_07/order/billing_address.rb,
lib/e_plat/mapping/shopify/v_2024_01/order/shipping_address.rb,
lib/e_plat/mapping/shopify/v_2024_07/order/shipping_address.rb,
lib/e_plat/resource/shopify_only/recurring_application_charge.rb,
lib/e_plat/mapping/bigcommerce/v_3/product/variant/option_value.rb,
lib/e_plat/mapping/shopify/v_2024_07/product/variant/option_value.rb,
lib/e_plat/mapping/virtual_collection/bigcommerce/order_line_items.rb,
lib/e_plat/mapping/virtual_collection/shopify/product/variant/option_value.rb,
lib/e_plat/resource/shopify_only/recurring_application_charge/usage_charge.rb
Defined Under Namespace
Modules: Bigcommerce, Concerns, Countable, Paginated, Shopify, ShopifyWebhook, Types
Classes: AttributeInterface, Base, Client, Collection, Connection, Current, Engine, Error, GraphqlError, IncorrectTypeError, Initializer, Mapping, Metafield, MissingMigrationKeyError, MissingSessionError, Order, Product, RecurringApplicationCharge, ScriptTag, Session, Shop, TypeCoercer, Webhook
Constant Summary
collapse
- SUPPORTED_SHOPIFY_API_VERSIONS =
['2024_01', '2024_07']
- SUPPORTED_BIGCOMMERCE_API_VERSIONS =
['3']
- SUPPORTED_PLATFORMS =
["shopify", "bigcommerce"]
- SUPPORTED_RESOURCES =
[
"shop",
"product",
"product/variant",
"product/image",
"product/option",
"product/image",
"order",
"order/line_item",
"order/shipping_address",
"order/billing_address",
"script_tag",
"webhook",
"metafield"
]
- VERSION =
"0.9.9"
Class Method Summary
collapse
Class Method Details
.api_display_name ⇒ Object
58
59
60
61
62
63
64
65
|
# File 'lib/e_plat.rb', line 58
def self.api_display_name
apis = Struct.new(:shopify, :bigcommerce, :woocommerce)
apis.new(
shopify: config.shopify_api_version&.dasherize, bigcommerce: "v#{config.bigcommerce_api_version}", woocommerce: "v#{config.woocommerce_api_version}" )
end
|
.shopify_graphql_version ⇒ Object
67
68
69
70
|
# File 'lib/e_plat.rb', line 67
def self.shopify_graphql_version
"V202407"
end
|