Sha256: 2a5cef8516db0dbbdef42678532ba07310e3caa50c392ee38cb4ac478ab99bf2

Contents?: true

Size: 320 Bytes

Versions: 15

Compression:

Stored size: 320 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

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

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
adminpanel-2.5.4 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.5.3 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.5.2 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.5.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.5.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.4.3 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.4.2 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.4.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.4.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.3.1 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.3.0 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.2.5 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.2.4 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.2.3 app/models/concerns/adminpanel/facebook.rb
adminpanel-2.2.2 app/models/concerns/adminpanel/facebook.rb