Module: EPlat::Client::DefaultRequestArgs
- Extended by:
- ActiveSupport::Concern
- Included in:
- EPlat::Client
- Defined in:
- lib/e_plat/client/default_request_args.rb
Instance Method Summary collapse
Instance Method Details
#order_default_find_args ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/e_plat/client/default_request_args.rb', line 20 def order_default_find_args case platform when :shopify {} when :bigcommerce {} when :woocommerce {} end end |
#product_default_find_args ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/e_plat/client/default_request_args.rb', line 7 def product_default_find_args case platform when :shopify {} when :bigcommerce { "include" => ["variants", "images"] } when :woocommerce {} end end |