├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── pull_request_template.md ├── .gitignore ├── .reek.yml ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── CHANGELOG.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── best_buy_ruby.gemspec ├── bin ├── console └── setup ├── docs ├── categories_api.md ├── general_overview.md ├── products_api.md └── stores_api.md ├── lib ├── best_buy.rb ├── best_buy │ ├── base.rb │ ├── base │ │ └── version.rb │ ├── base_api.rb │ ├── categories.rb │ ├── config.rb │ ├── exceptions │ │ └── api_key_not_found.rb │ ├── helpers │ │ ├── api_helper.rb │ │ └── conditions │ │ │ ├── category_condition.rb │ │ │ ├── max_price_condition.rb │ │ │ ├── min_price_condition.rb │ │ │ ├── new_condition.rb │ │ │ ├── pre_owned_condition.rb │ │ │ └── refurbished_condition.rb │ ├── models │ │ ├── address.rb │ │ ├── base_category.rb │ │ ├── category.rb │ │ ├── collection_header.rb │ │ ├── collections_response.rb │ │ ├── image.rb │ │ ├── offer.rb │ │ ├── product.rb │ │ ├── shipping_level_of_service.rb │ │ └── store.rb │ ├── products.rb │ ├── search_query_builder.rb │ └── stores.rb └── generators │ └── best_buy │ └── config │ ├── config_generator.rb │ └── templates │ └── config.rb └── spec ├── base_api_spec.rb ├── base_spec.rb ├── categories_spec.rb ├── config_spec.rb ├── generators └── config_generator_spec.rb ├── helpers └── api_helper_spec.rb ├── products_spec.rb ├── search_query_builder_spec.rb ├── shared_contexts ├── categories.rb ├── products.rb └── stores.rb ├── spec_helper.rb └── stores_spec.rb /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.gitignore -------------------------------------------------------------------------------- /.reek.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.reek.yml -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/Rakefile -------------------------------------------------------------------------------- /best_buy_ruby.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/best_buy_ruby.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/bin/setup -------------------------------------------------------------------------------- /docs/categories_api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/docs/categories_api.md -------------------------------------------------------------------------------- /docs/general_overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/docs/general_overview.md -------------------------------------------------------------------------------- /docs/products_api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/docs/products_api.md -------------------------------------------------------------------------------- /docs/stores_api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/docs/stores_api.md -------------------------------------------------------------------------------- /lib/best_buy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy.rb -------------------------------------------------------------------------------- /lib/best_buy/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/base.rb -------------------------------------------------------------------------------- /lib/best_buy/base/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/base/version.rb -------------------------------------------------------------------------------- /lib/best_buy/base_api.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/base_api.rb -------------------------------------------------------------------------------- /lib/best_buy/categories.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/categories.rb -------------------------------------------------------------------------------- /lib/best_buy/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/config.rb -------------------------------------------------------------------------------- /lib/best_buy/exceptions/api_key_not_found.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/exceptions/api_key_not_found.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/api_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/api_helper.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/category_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/category_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/max_price_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/max_price_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/min_price_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/min_price_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/new_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/new_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/pre_owned_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/pre_owned_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/helpers/conditions/refurbished_condition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/helpers/conditions/refurbished_condition.rb -------------------------------------------------------------------------------- /lib/best_buy/models/address.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/address.rb -------------------------------------------------------------------------------- /lib/best_buy/models/base_category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/base_category.rb -------------------------------------------------------------------------------- /lib/best_buy/models/category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/category.rb -------------------------------------------------------------------------------- /lib/best_buy/models/collection_header.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/collection_header.rb -------------------------------------------------------------------------------- /lib/best_buy/models/collections_response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/collections_response.rb -------------------------------------------------------------------------------- /lib/best_buy/models/image.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/image.rb -------------------------------------------------------------------------------- /lib/best_buy/models/offer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/offer.rb -------------------------------------------------------------------------------- /lib/best_buy/models/product.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/product.rb -------------------------------------------------------------------------------- /lib/best_buy/models/shipping_level_of_service.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/shipping_level_of_service.rb -------------------------------------------------------------------------------- /lib/best_buy/models/store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/models/store.rb -------------------------------------------------------------------------------- /lib/best_buy/products.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/products.rb -------------------------------------------------------------------------------- /lib/best_buy/search_query_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/search_query_builder.rb -------------------------------------------------------------------------------- /lib/best_buy/stores.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/best_buy/stores.rb -------------------------------------------------------------------------------- /lib/generators/best_buy/config/config_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/generators/best_buy/config/config_generator.rb -------------------------------------------------------------------------------- /lib/generators/best_buy/config/templates/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/lib/generators/best_buy/config/templates/config.rb -------------------------------------------------------------------------------- /spec/base_api_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/base_api_spec.rb -------------------------------------------------------------------------------- /spec/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/base_spec.rb -------------------------------------------------------------------------------- /spec/categories_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/categories_spec.rb -------------------------------------------------------------------------------- /spec/config_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/config_spec.rb -------------------------------------------------------------------------------- /spec/generators/config_generator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/generators/config_generator_spec.rb -------------------------------------------------------------------------------- /spec/helpers/api_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/helpers/api_helper_spec.rb -------------------------------------------------------------------------------- /spec/products_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/products_spec.rb -------------------------------------------------------------------------------- /spec/search_query_builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/search_query_builder_spec.rb -------------------------------------------------------------------------------- /spec/shared_contexts/categories.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/shared_contexts/categories.rb -------------------------------------------------------------------------------- /spec/shared_contexts/products.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/shared_contexts/products.rb -------------------------------------------------------------------------------- /spec/shared_contexts/stores.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/shared_contexts/stores.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/stores_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rootstrap/best_buy_ruby/HEAD/spec/stores_spec.rb --------------------------------------------------------------------------------