Module: FbGraph::Connections::Television

Included in:
User
Defined in:
lib/fb_graph/connections/television.rb

Instance Method Summary collapse

Instance Method Details

#television(options = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph/connections/television.rb', line 4

def television(options = {})
  television = FbGraph::Collection.new(get(options.merge(:connection => 'television')))
  television.map! do |_television_|
    Page.new(_television_.delete(:id), _television_)
  end
end