Module: FbGraph2::Edge::StaticResources

Included in:
App
Defined in:
lib/fb_graph2/edge/static_resources.rb

Instance Method Summary collapse

Instance Method Details

#static_resources(params = {}) ⇒ Object Also known as: staticresources



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/static_resources.rb', line 4

def static_resources(params = {})
  resources = self.edge :staticresources, params
  resources.collect! do |resource|
    Struct::StaticResource.new resource
  end
end