sairam/stackxapi

View on GitHub
lib/tags/related.rb

Summary

Maintainability
A
20 mins
Test Coverage
module StackExchange

  class Tags::Related < Tags
    include Request::Tags

    def initialize(options={})
      required_keys!(options, [:tags], self)
      @request_path = "/tags/#{self.tags}/related"
      super(options)
    end

    def help
      "https://api.stackexchange.com/docs/related-tags"
    end
  end

end