Sha256: f7c56d27ecd7f810c5a9cfa5dc76fdb4a3ccd093d623002c6b0ba579b65196a5
Contents?: true
Size: 321 Bytes
Versions: 2
Compression:
Stored size: 321 Bytes
Contents
module Etsy4r class CategoryCommands < Etsy4r::Commands def get_top_categories @client.process("/categories") end def get_child_categories(category) cat_param = category.gsub(/\s|\-/, "_") @client.process("/categories/#{cat_param}/children") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tcocca-etsy4r-0.3.2 | lib/etsy4r/category_commands.rb |
tcocca-etsy4r-0.4.0 | lib/etsy4r/category_commands.rb |