Module: Showcase::Traits::Share
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- PROVIDERS =
{ twitter: { url: "https://twitter.com/intent/tweet", params: { url: :url, text: :text }, label: 'Tweet it!' }, gplus: { url: "https://plus.google.com/share", params: { url: :url }, label: 'Share it on Google Plus!' }, facebook: { url: "http://www.facebook.com/sharer/sharer.php", params: { u: :url }, label: 'Share it on Facebook!' }, linkedin: { url: "http://www.linkedin.com/shareArticle", params: { url: :url, title: :text }, label: 'Share it on LinkedIn!' }, pinterest: { url: "http://www.pinterest.com/pin/create/button/", params: { url: :url, media: :image_url, title: :text }, label: 'Pin it!' } }