Class: FBGraph::Timeline

Inherits:
Base
  • Object
show all
Defined in:
lib/fbgraph/timeline.rb

Constant Summary collapse

BUILT_IN_ACTIONS =
{
  :listens => :music,
  :reads => :news,
  :watches => :movie,
}

Instance Attribute Summary

Attributes inherited from Base

#connection_type, #last_result, #logger, #objects

Instance Method Summary collapse

Methods inherited from Base

#connection, #debug=, #delete!, #find, #info!, #initialize, #param, #params, #params=, #publish!, #with_fields

Constructor Details

This class inherits a constructor from FBGraph::Base

Instance Method Details

#action(namespace, action) ⇒ Object


11
12
13
14
# File 'lib/fbgraph/timeline.rb', line 11

def action(namespace,action)
  connection([namespace,action].join(':'))
  self
end