Sha256: fafcb7f925975da2465de2fc8d3ff6c5235d8e7a2ed7fef55d920d23802ac76a
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
module StackExchange module StackOverflow class Tag < Base extend Forwardable def_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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pilha-0.2.1 | lib/pilha/stack_overflow/tag.rb |
pilha-0.2.0 | lib/pilha/stack_overflow/tag.rb |
pilha-0.1.9 | lib/pilha/stack_overflow/tag.rb |
pilha-0.1.8 | lib/pilha/stack_overflow/tag.rb |