Sha256: c71cadd7d82222fdfd2cf1e46341255d3310ace068d440ddd75f96b1fa7a24bd
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
module FbGraph module Connections module Posts def posts(options = {}) options[:connection] ||= 'posts' __self__ = options.delete(:self) || self posts = Collection.new(__self__.send(:get, options)) posts.map! do |post| Post.new(post.delete(:id), post) end end module_function :posts end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-0.0.1 | lib/fb_graph/connections/posts.rb |