Sha256: ebe2f69f862c28b28034ff63a54acae3d75e72fe0371decde3f91b625cc70a3f
Contents?: true
Size: 519 Bytes
Versions: 3
Compression:
Stored size: 519 Bytes
Contents
module GnipApi module Apis module Search class Stream attr_accessor :query, :label def initialize options={} @query = options[:query] @label = options[:label] @adapter = GnipApi::Adapter.new end def perform response = @adapter.post search_url, @query.to_json Result.new response end private def search_url GnipApi::Endpoints.search_stream(@label) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gnip_api-0.0.4 | lib/gnip_api/apis/search/stream.rb |
gnip_api-0.0.3 | lib/gnip_api/apis/search/stream.rb |
gnip_api-0.0.2 | lib/gnip_api/apis/search/stream.rb |