Sha256: d71c751512c81e9dab88d9461a7f1672e713f49c0cc414ff5ec25cdd5df0c6a3
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
module Etsy4r class FavoriteCommands < Etsy4r::Commands def get_favorers_of_user(user_id, optional_params = {}) @client.process("/users/#{user_id}/favorers", optional_params) end def get_favorers_of_listing(listing_id, optional_params = {}) @client.process("/listings/#{listing_id}/favorers", optional_params) end def get_favorite_shops_of_user(user_id, optional_params = {}) @client.process("/users/#{user_id}/favorites/shops", optional_params) end def get_favorite_listings_of_user(user_id, optional_params = {}) @client.process("/users/#{user_id}/favorites/listings", optional_params) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tcocca-etsy4r-0.1.0 | lib/etsy4r/favorite_commands.rb |