Sha256: 1d81c87229ebcd568ccfa7209c844f9d90d8317693409b24a912d8a8d2fa80c7

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

module Etsy4r
  class TagCommands < Etsy4r::Commands
    
    def get_top_tags
      @client.process("/tags/top")
    end
    
    def get_child_tags(tag)
      tag_param = tag.gsub(/\s|\-/, "_")
      @client.process("/tags/#{tag_param}/children")
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tcocca-etsy4r-0.1.0 lib/etsy4r/tag_commands.rb