Sha256: 41b79746696c12308e791bbea21f2b98c3ac32d745f51da513a5164c988ef1c0

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module SocialUrl
  class Facebook
    PARAMS = [:u]

    def initialize(options)
      @params = SocialUrl.filtered_params(options, PARAMS)
    end

    def url
      "https://www.facebook.com/sharer/sharer.php?#{@params}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social-url-1.1.1 lib/social_url/facebook.rb