Sha256: 5d4dd15fcb503f12f5f16c29885eb9bfebcd6e35a086fedcdd633ee3585b5d64
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
require_relative "model" module Rsift class Stream < Rsift::Model def initialize(url, key, username) @format = "json" @section = "stream" 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/stream.rb |