Sha256: 7da30b521dce19fbdbdab8838d352e1b260eee4d4d16ecec3f12066818c91c0c

Contents?: true

Size: 331 Bytes

Versions: 6

Compression:

Stored size: 331 Bytes

Contents

module FbGraph2
  class Edge
    module StaticResources
      def static_resources(params = {})
        resources = self.edge :staticresources, params
        resources.collect do |resource|
          Struct::StaticResource.new resource
        end
      end
      alias_method :staticresources, :static_resources
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fb_graph2-0.1.0 lib/fb_graph2/edge/static_resources.rb
fb_graph2-0.0.11 lib/fb_graph2/edge/static_resources.rb
fb_graph2-0.0.10 lib/fb_graph2/edge/static_resources.rb
fb_graph2-0.0.9 lib/fb_graph2/edge/static_resources.rb
fb_graph2-0.0.8 lib/fb_graph2/edge/static_resources.rb
fb_graph2-0.0.7 lib/fb_graph2/edge/static_resources.rb