Sha256: d5d2df2e3b0a3b740e5f606f466c3d775e2cf4b48cc2a141d4a53812f8a6723d

Contents?: true

Size: 305 Bytes

Versions: 21

Compression:

Stored size: 305 Bytes

Contents

module FBGraph
  class Search < Base

    def initialize(client)
      @objects = 'search'
      super(client)
    end
    
    def query(q)
      @params = {:q => q}
      return self
    end
    
    def on(type)
      @params.merge!({:type => type})
      return self
    end
    
    
     
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fbgraph-1.10.1 lib/fbgraph/search.rb
fbgraph-1.10.0 lib/fbgraph/search.rb
fbgraph-1.9.0 lib/fbgraph/search.rb
fbgraph-1.8.4 lib/fbgraph/search.rb
fbgraph-1.8.3 lib/fbgraph/search.rb
fbgraph-1.8.0 lib/fbgraph/search.rb
fbgraph-1.7.1 lib/fbgraph/search.rb
fbgraph-1.7.0 lib/fbgraph/search.rb
fbgraph-1.6.0 lib/fbgraph/search.rb
fbgraph-1.5.4 lib/fbgraph/search.rb
fbgraph-1.5.2 lib/fbgraph/search.rb
fbgraph-0.1.6.4.1 lib/fbgraph/search.rb
fbgraph-0.1.6.4 lib/fbgraph/search.rb
fbgraph-0.1.6.3 lib/fbgraph/search.rb
fbgraph-0.1.6.1 lib/fbgraph/search.rb
fbgraph-0.1.6 lib/fbgraph/search.rb
fbgraph-0.1.4 lib/fbgraph/search.rb
fbgraph-0.1.1 lib/fbgraph/search.rb
fbgraph-0.0.9 lib/fbgraph/search.rb
fbgraph-0.0.8 lib/fbgraph/search.rb