lib/rsqoot/merchant.rb in rsqoot-0.4.2 vs lib/rsqoot/merchant.rb in rsqoot-0.5.0

- old
+ new

@@ -7,10 +7,10 @@ # @param [String] namespace (One of the supported namespaces. Factual, Foursquare, Facebook, Google, CitySearch, Yelp.) def merchant(id, options={}) options = update_by_expire_time options if merchant_not_latest?(id) - @rsqoot_merchant = get("merchants/#{id}", options) + @rsqoot_merchant = get("merchants/#{id}", options, SqootMerchant) @rsqoot_merchant = @rsqoot_merchant.merchant if @rsqoot_merchant end @rsqoot_merchant end \ No newline at end of file