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
10
11
# File 'lib/fb_graph/connections/television.rb', line 4

def television(options = {})
  television = self.connection(:television, options)
  television.map! do |_television_|
    Page.new(_television_.delete(:id), _television_.merge(
      :access_token => options[:access_token] || self.access_token
    ))
  end
end