Class: Viadeo::Search

Inherits:
GraphConnection show all
Includes:
Operations::Get
Defined in:
lib/viadeo/search.rb

Overview

List of actions

  • retrieve (find, get)

List of connections

Example :

require "viadeo"
# Search users at paris school and limit the result to 5
search = Viadeo::Search.new(access_token, connection: "users")
search.find(school: "paris", limit: 5)

WARNING: if it called without connection it raise an error

Instance Attribute Summary

Attributes inherited from GraphObject

#access_token, #id

Method Summary

Methods included from Operations::Get

#find

Methods inherited from GraphConnection

#initialize

Methods inherited from GraphObject

#[], #[]=, #data_to_graph_object, #each, #initialize, #inspect, #keys, new_from, #refresh_from, #reset, #to_hash, #to_json, #to_s, #updated?, #values

Constructor Details

This class inherits a constructor from Viadeo::GraphConnection

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Viadeo::GraphObject