Class: Etsy4r::GiftGuideCommands

Inherits:
Commands
  • Object
show all
Defined in:
lib/etsy4r/gift_guide_commands.rb

Instance Attribute Summary

Attributes inherited from Commands

#client

Instance Method Summary collapse

Methods inherited from Commands

#initialize

Constructor Details

This class inherits a constructor from Etsy4r::Commands

Instance Method Details

#get_gift_guide_listings(guide_id, optional_params = {}) ⇒ Object



8
9
10
# File 'lib/etsy4r/gift_guide_commands.rb', line 8

def get_gift_guide_listings(guide_id, optional_params = {})
  @client.process("/gift-guides/#{guide_id}/listings", optional_params)
end

#get_gift_guidesObject



4
5
6
# File 'lib/etsy4r/gift_guide_commands.rb', line 4

def get_gift_guides
  @client.process('/gift-guides')
end