Sha256: 548245f14643b73545144414156f11d29d43949f10501e0ad958efc2a30fb0f4
Contents?: true
Size: 793 Bytes
Versions: 2
Compression:
Stored size: 793 Bytes
Contents
module Adparlor module Facebook module GraphApi class Page < GraphObject include Fields::Page include Traits::Methods field_attrs FIELDS def promotable_posts @promotable_posts ||= CollectionProxy.new(Post, "/#{id}/promotable_posts", access_token) end def picture @picture ||= CollectionProxy.new(Picture, "/#{id}/picture", access_token) end def page_backed_instagram_accounts @page_backed_instagram_accounts ||= CollectionProxy.new(InstagramAccount, "/#{id}/page_backed_instagram_accounts", access_token) end def leadgen_forms @leadgen_forms ||= CollectionProxy.new(LeadgenForm, "/#{id}/leadgen_forms", access_token) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adparlor-facebook-0.6.0 | lib/adparlor/facebook/graph_api/page.rb |
adparlor-facebook-0.5.9 | lib/adparlor/facebook/graph_api/page.rb |