class SocialUrl::Networks::Pinterest

Public Instance Methods

url() click to toggle source
# File lib/social_url/networks/pinterest.rb, line 12
def url
  "https://www.pinterest.com/pin/create/button/?#{params}"
end
whitelisted_params() click to toggle source
# File lib/social_url/networks/pinterest.rb, line 4
def whitelisted_params
  {
    url: :url,
    text: :description,
    media: :media
  }
end