Module: Adminpanel::Facebook
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/adminpanel/facebook.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #share_link ⇒ Object
-
#share_picture ⇒ Object
if return any other thing than nil, it’ll send it as the picture_thumb whenever it’s posted.
Instance Method Details
#share_link ⇒ Object
8 9 10 |
# File 'app/models/concerns/adminpanel/facebook.rb', line 8 def share_link 'http://www.google.com' end |
#share_picture ⇒ Object
if return any other thing than nil, it’ll send it as the picture_thumb whenever it’s posted.
14 15 16 |
# File 'app/models/concerns/adminpanel/facebook.rb', line 14 def share_picture nil end |