module AppleStoreInventoryChecker
Constants
- BASE_URL
- VERSION
Attributes
client[W]
Public Class Methods
base_url()
click to toggle source
# File lib/apple_store_inventory_checker.rb, line 18 def base_url BASE_URL end
client()
click to toggle source
# File lib/apple_store_inventory_checker.rb, line 22 def client @client ||= AppleStoreInventoryChecker::APIClient end
retrieve(product_id, zip:, max_distance: 15.0)
click to toggle source
# File lib/apple_store_inventory_checker.rb, line 26 def retrieve(product_id, zip:, max_distance: 15.0) instance = ResultsList.new(product_id, zip: zip, max_distance: max_distance) instance.refresh end