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-3.6.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.6.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.5.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.5.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.7 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.6 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.5 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.4 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.3 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.2 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.4.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.3.4 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.3.3 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.3.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.2.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.2.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.1.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-3.0.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.6.1 app/models/concerns/adminpanel/facebook.rb