Module: BeyondApi

Extended by:
Logger
Defined in:
lib/beyond_api.rb,
lib/beyond_api/error.rb,
lib/beyond_api/utils.rb,
lib/beyond_api/logger.rb,
lib/beyond_api/request.rb,
lib/beyond_api/session.rb,
lib/beyond_api/version.rb,
lib/beyond_api/connection.rb,
lib/beyond_api/resources/base.rb,
lib/beyond_api/resources/shop.rb,
lib/beyond_api/resources/carts.rb,
lib/beyond_api/resources/token.rb,
lib/beyond_api/resources/users.rb,
lib/beyond_api/resources/orders.rb,
lib/beyond_api/resources/signers.rb,
lib/beyond_api/resources/products.rb,
lib/beyond_api/resources/customers.rb,
lib/beyond_api/resources/categories.rb,
lib/beyond_api/resources/variations.rb,
lib/beyond_api/resources/script_tags.rb,
lib/beyond_api/resources/shops/images.rb,
lib/beyond_api/resources/shops/legals.rb,
lib/beyond_api/resources/products_view.rb,
lib/beyond_api/resources/shops/address.rb,
lib/beyond_api/resources/order_settings.rb,
lib/beyond_api/resources/pickup_options.rb,
lib/beyond_api/resources/shipping_zones.rb,
lib/beyond_api/resources/categories_view.rb,
lib/beyond_api/resources/payment_methods.rb,
lib/beyond_api/resources/products/images.rb,
lib/beyond_api/resources/products/videos.rb,
lib/beyond_api/resources/shops/locations.rb,
lib/beyond_api/resources/shops/attributes.rb,
lib/beyond_api/resources/checkout_settings.rb,
lib/beyond_api/resources/newsletter_target.rb,
lib/beyond_api/resources/products/searches.rb,
lib/beyond_api/resources/variations/images.rb,
lib/generators/beyond_api/install_generator.rb,
lib/beyond_api/resources/products/attachments.rb,
lib/beyond_api/resources/products/cross_sells.rb,
lib/beyond_api/resources/products/availability.rb,
lib/beyond_api/resources/webhook_subscriptions.rb,
lib/beyond_api/resources/variations/availability.rb,
lib/beyond_api/resources/payment_method_definitions.rb,
lib/beyond_api/resources/products/custom_attributes.rb,
lib/beyond_api/resources/product_attribute_definitions.rb,
lib/beyond_api/resources/products/variation_properties.rb

Defined Under Namespace

Modules: Generators, Logger, ProductAttachments, ProductAvailability, ProductCrossSells, ProductCustomAttributes, ProductImages, ProductSearches, ProductVariationProperties, ProductVideos, ShopAddress, ShopAttributes, ShopImages, ShopLegals, ShopLocations, Utils, VariationAvailability, VariationImages Classes: Base, Carts, Categories, CategoriesView, CheckoutSettings, Configuration, Connection, Customers, Error, NewsletterTarget, OrderSettings, Orders, PaymentMethodDefinitions, PaymentMethods, PickupOptions, ProductAttributeDefinitions, Products, ProductsView, Request, ScriptTags, Session, ShippingZones, Shop, Signers, Token, Users, Variations, WebhookSubscriptions

Constant Summary collapse

VERSION =
"0.24.3.pre"

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Logger

logger, logger=

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



20
21
22
# File 'lib/beyond_api.rb', line 20

def configuration
  @configuration
end

Class Method Details

.setup {|configuration| ... } ⇒ Object

Yields:



23
24
25
26
27
# File 'lib/beyond_api.rb', line 23

def self.setup
  self.configuration ||= Configuration.new

  yield configuration
end