Sha256: f8772febd75764d4f95711d7042504e88882d029ceda272443a949da52a5252e
Contents?: true
Size: 623 Bytes
Versions: 3
Compression:
Stored size: 623 Bytes
Contents
module RSqoot module Merchant # Retrieve a list of merchants base on the following parameters # # @param [String] id (The merchant's ID, Use the Sqoot ID or ID for any supported namespace. Must supply namespace if we don't use Sqoot) # @param [String] namespace (One of the supported namespaces. Factual, Foursquare, Facebook, Google, CitySearch, Yelp.) def merchant(id, options={}) if merchant_not_latest?(id) @rsqoot_merchant = get("merchants/#{id}", options) @rsqoot_merchant = @rsqoot_merchant.merchant if @rsqoot_merchant end @rsqoot_merchant end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rsqoot-0.3.2 | lib/rsqoot/merchant.rb |
rsqoot-0.3.1 | lib/rsqoot/merchant.rb |
rsqoot-0.3.0 | lib/rsqoot/merchant.rb |