Class: Etsy4r::TagCommands
- Defined in:
- lib/etsy4r/tag_commands.rb
Instance Attribute Summary
Attributes inherited from Commands
Instance Method Summary collapse
Methods inherited from Commands
Constructor Details
This class inherits a constructor from Etsy4r::Commands
Instance Method Details
#get_child_tags(tag) ⇒ Object
8 9 10 11 |
# File 'lib/etsy4r/tag_commands.rb', line 8 def (tag) tag_param = tag.gsub(/\s|\-/, "_") @client.process("/tags/#{tag_param}/children") end |
#get_top_tags ⇒ Object
4 5 6 |
# File 'lib/etsy4r/tag_commands.rb', line 4 def @client.process("/tags") end |