Class: Viadeo::GraphConnection

Inherits:
GraphObject show all
Defined in:
lib/viadeo/graph_connection.rb

Direct Known Subclasses

Search, User

Instance Attribute Summary

Attributes inherited from GraphObject

#access_token, #id

Instance Method Summary collapse

Methods inherited from GraphObject

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

Constructor Details

#initialize(access_token, options = {}) ⇒ GraphConnection

Returns a new instance of GraphConnection.



4
5
6
7
# File 'lib/viadeo/graph_connection.rb', line 4

def initialize(access_token, options={})
  @connection = options[:connection] if options[:connection]
  super(access_token, options)
end

Dynamic Method Handling

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