Sha256: 7f72c9bbc68a4cc7cb631259b3f6d1fcabe985ce9432c90f1273e0461180dbdb

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 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={})
      get("merchants/#{id}", options)
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rsqoot-0.2.2 lib/rsqoot/merchant.rb
rsqoot-0.1.1 lib/rsqoot/merchant.rb
rqoot-0.1.0 lib/rsqoot/merchant.rb