Sha256: dca6851d9289a18060903d4ba8e5886309281ed676b164e21badf2c6aceab6d3
Contents?: true
Size: 422 Bytes
Versions: 5
Compression:
Stored size: 422 Bytes
Contents
require File.dirname(__FILE__) + "/model.rb" module Rsift class Comment < Rsift::Model def initialize(url, key, username) @format = "json" @section = "comment" super(url, key, username) end def do(verb, opts = {}) get("#{@section}/#{verb}.#{@format}?&"+ Rsift::escape_options(opts).join("&")) end def get(path) @conn.get(path) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rsift-0.3.6 | lib/rsift/comment.rb |
rsift-0.3.5 | lib/rsift/comment.rb |
rsift-0.3.4 | lib/rsift/comment.rb |
rsift-0.3.3 | lib/rsift/comment.rb |
rsift-0.3.2 | lib/rsift/comment.rb |