Module: Bigcommerce

Defined in:
lib/bigcommerce/resources/system/time.rb,
lib/bigcommerce.rb,
lib/bigcommerce/config.rb,
lib/bigcommerce/request.rb,
lib/bigcommerce/version.rb,
lib/bigcommerce/exception.rb,
lib/bigcommerce/connection.rb,
lib/bigcommerce/middleware/auth.rb,
lib/bigcommerce/resource_actions.rb,
lib/bigcommerce/resources/resource.rb,
lib/bigcommerce/subresource_actions.rb,
lib/bigcommerce/resources/orders/order.rb,
lib/bigcommerce/resources/products/sku.rb,
lib/bigcommerce/resources/tax/tax_class.rb,
lib/bigcommerce/resources/products/brand.rb,
lib/bigcommerce/middleware/http_exception.rb,
lib/bigcommerce/resources/geography/state.rb,
lib/bigcommerce/resources/orders/shipment.rb,
lib/bigcommerce/resources/products/option.rb,
lib/bigcommerce/resources/content/blog_tag.rb,
lib/bigcommerce/resources/content/redirect.rb,
lib/bigcommerce/resources/marketing/banner.rb,
lib/bigcommerce/resources/marketing/coupon.rb,
lib/bigcommerce/resources/orders/order_tax.rb,
lib/bigcommerce/resources/products/product.rb,
lib/bigcommerce/resources/webhooks/webhook.rb,
lib/bigcommerce/resources/content/blog_post.rb,
lib/bigcommerce/resources/geography/country.rb,
lib/bigcommerce/resources/products/category.rb,
lib/bigcommerce/resources/customers/customer.rb,
lib/bigcommerce/resources/orders/order_coupon.rb,
lib/bigcommerce/resources/orders/order_status.rb,
lib/bigcommerce/resources/products/option_set.rb,
lib/bigcommerce/resources/orders/order_message.rb,
lib/bigcommerce/resources/orders/order_product.rb,
lib/bigcommerce/resources/products/custom_field.rb,
lib/bigcommerce/resources/products/option_value.rb,
lib/bigcommerce/resources/products/product_rule.rb,
lib/bigcommerce/resources/products/product_image.rb,
lib/bigcommerce/resources/products/product_video.rb,
lib/bigcommerce/resources/payments/payment_method.rb,
lib/bigcommerce/resources/products/product_option.rb,
lib/bigcommerce/resources/products/product_review.rb,
lib/bigcommerce/resources/store/store_information.rb,
lib/bigcommerce/resources/customers/customer_group.rb,
lib/bigcommerce/resources/shipping/shipping_method.rb,
lib/bigcommerce/resources/customers/customer_address.rb,
lib/bigcommerce/resources/products/bulk_pricing_rule.rb,
lib/bigcommerce/resources/products/option_set_option.rb,
lib/bigcommerce/resources/marketing/gift_certificates.rb,
lib/bigcommerce/resources/products/configurable_field.rb,
lib/bigcommerce/resources/orders/order_shipping_address.rb,
lib/bigcommerce/resources/products/google_product_search_mapping.rb

Overview

Google Product Search Mapping Google Product Search mappings for a product. developer.bigcommerce.com/api/stores/v2/products/googleproductsearch

Defined Under Namespace

Modules: Connection, HttpErrors, Middleware Classes: BadGateway, BadRequest, BandwidthLimitExceeded, Banner, BlogPost, BlogTag, Brand, BulkPricingRule, Category, Config, ConfigurableField, Country, Coupon, CustomField, Customer, CustomerAddress, CustomerGroup, Forbidden, GatewayTimeout, GiftCertificates, GoogleProductSearchMapping, HttpError, InternalServerError, MethodNotAllowed, NotAccepted, NotFound, Option, OptionSet, OptionSetOption, OptionValue, Order, OrderCoupon, OrderMessage, OrderProduct, OrderShippingAddress, OrderStatus, OrderTax, PathBuilder, PaymentMethod, Product, ProductImage, ProductOption, ProductReview, ProductRule, ProductVideo, Redirect, Request, Resource, ResourceActions, ResourceConflict, ServiceUnavailable, Shipment, ShippingMethod, Sku, State, StoreInfo, SubresourceActions, System, TaxClass, TimeOut, TooManyRequests, Unauthorized, Webhook

Constant Summary collapse

VERSION =
'1.0.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.apiObject (readonly)

Returns the value of attribute api


15
16
17
# File 'lib/bigcommerce.rb', line 15

def api
  @api
end

.configObject (readonly)

Returns the value of attribute config


15
16
17
# File 'lib/bigcommerce.rb', line 15

def config
  @config
end

Class Method Details

.configureObject


17
18
19
20
# File 'lib/bigcommerce.rb', line 17

def configure
  @config = Bigcommerce::Config.new.tap { |h| yield(h) }
  @api = Bigcommerce::Connection.build(@config)
end