Sha256: 29a424da939a100c5e9e470ff70da4a2dfdfa80d65c34eacd1df708422436658
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
require_relative "model" module Rsift class Data < Rsift::Model def initialize(url, key, username) @format = "json" super(url, key, username) end def do(opts = {}) get("stream.#{@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/data.rb |