Sha256: 4eacae1e255d9d7079b87083f7f7315a488278b4860e6b6cd100bf1d431c2ccb
Contents?: true
Size: 402 Bytes
Versions: 1
Compression:
Stored size: 402 Bytes
Contents
require_relative "model" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsift-0.3.1 | lib/rsift/comment.rb |