Module: BestBuy

Defined in:
lib/best_buy/base.rb,
lib/best_buy/config.rb,
lib/best_buy/stores.rb,
lib/best_buy/base_api.rb,
lib/best_buy/products.rb,
lib/best_buy/categories.rb,
lib/best_buy/base/version.rb,
lib/best_buy/models/image.rb,
lib/best_buy/models/offer.rb,
lib/best_buy/models/store.rb,
lib/best_buy/models/address.rb,
lib/best_buy/models/product.rb,
lib/best_buy/models/category.rb,
lib/best_buy/helpers/api_helper.rb,
lib/best_buy/models/base_category.rb,
lib/best_buy/search_query_builder.rb,
lib/best_buy/models/collection_header.rb,
lib/best_buy/models/collections_response.rb,
lib/best_buy/exceptions/api_key_not_found.rb,
lib/best_buy/helpers/conditions/new_condition.rb,
lib/best_buy/models/shipping_level_of_service.rb,
lib/generators/best_buy/config/config_generator.rb,
lib/best_buy/helpers/conditions/category_condition.rb,
lib/best_buy/helpers/conditions/max_price_condition.rb,
lib/best_buy/helpers/conditions/min_price_condition.rb,
lib/best_buy/helpers/conditions/pre_owned_condition.rb,
lib/best_buy/helpers/conditions/refurbished_condition.rb

Defined Under Namespace

Modules: Base, Conditions, Exceptions, Generators Classes: APIHelper, Address, BaseAPI, BaseCategory, Categories, Category, CollectionHeader, CollectionsResponse, Config, Image, Offer, Product, Products, SearchQueryBuilder, ShippingLevelOfService, Store, Stores

Class Method Summary collapse

Class Method Details

.configObject



13
14
15
# File 'lib/best_buy/config.rb', line 13

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/best_buy/config.rb', line 5

def configure
  yield config
end

.reset_configurationObject



9
10
11
# File 'lib/best_buy/config.rb', line 9

def reset_configuration
  @config = Config.new
end