Sha256: 0bb66c9d2f475e5fde8c43c243b0179b96d41a83516ed50c3d8a45bac89400c2
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 Bytes
Contents
module StackExchange module StackOverflow class Tag < Base setup_delegators :@struct, :name, :count, :user_id class << self def all(options = {}) request('/tags', nil, options) end def find_by_user_id(id, options = {}) request('/users/:id/tags', id, options) end def parse(response) parse_with_class(response, 'tags', Tag) OpenStruct.new response end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pilha-0.2.2 | lib/pilha/stack_overflow/tag.rb |