Sha256: 1f4e8e01c93e1e9f9cd12bd05032be182c082a7af4ccc1bcd3fa6c94a7cff9e4
Contents?: true
Size: 466 Bytes
Versions: 22
Compression:
Stored size: 466 Bytes
Contents
module Adminpanel module Facebook extend ActiveSupport::Concern included do attr_accessor :fb_page_access_key, :fb_message end def share_link 'http://www.google.com' end # if return any other thing than nil, it'll send it as the picture_thumb # whenever it's posted. def share_picture nil end # static(class) methods module ClassMethods def fb_share? true end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-2.6.0 | app/models/concerns/adminpanel/facebook.rb |
adminpanel-2.5.5 | app/models/concerns/adminpanel/facebook.rb |