Class: Viadeo::Recommend

Inherits:
GraphObject show all
Includes:
Operations::Create, Operations::Get
Defined in:
lib/viadeo/recommend.rb

Overview

List of actions

  • find : Also aliased as : retrieve, get (details)

  • create : Also aliased as post : (details)

Examples :

require "viadeo"

# Retrieve recommended URL infos and limit the result to 5
recommend = Viadeo::Recommend.new(access_token)
recommend.retrieve(url: "http://dev.viadeo.com", limit: 5)

#recommend a new URL
recommend.create(url: "http://dev.viadeo.com", title: "Get started with the Viadeo API")

Instance Attribute Summary

Attributes inherited from GraphObject

#access_token, #id

Method Summary

Methods included from Operations::Create

#create

Methods included from Operations::Get

#find

Methods inherited from GraphObject

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

Constructor Details

This class inherits a constructor from Viadeo::GraphObject

Dynamic Method Handling

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