Sha256: fc15c85fccacacec942a52b5301984796cc1bcc1fa49024d133751c550c2e31d

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

module Voog
  class API
    module Tags

      # List tags
      def tags(params = {})
        get 'tags', {query: params}
      end

      # Get a single tag
      def tag(id, params = {})
        get "tags/#{id}", {query: params}
      end

      # Update a tag
      def update_tag(id, data)
        put "tags/#{id}", data
      end

      # Delete a tag
      def delete_tag(id)
        delete "tags/#{id}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voog_api-0.0.7 lib/voog_api/api/tags.rb