Sha256: 5d13c4de42e4b018280ee031a340c151e7f1cb015426e79defead943e8b6ee61

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

module Adminpanel
  module Facebook
    extend ActiveSupport::Concern
    included do
      attr_accessor :fb_page_access_key, :fb_message
    end

    #instance methods
    # def get_oauth_link
    #   Koala::Facebook::OAuth.new(
    #     Adminpanel.fb_app_id,
    #     Adminpanel.fb_app_secret,
    #   )
    # end
    def fb_link
      'www.overwrite.fb_link.com'
    end

    # static(class) methods
    module ClassMethods
      def fb_share?
        true
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adminpanel-2.1.2 app/models/concerns/adminpanel/facebook.rb