Sha256: 944992a038bcca439faa1c35d600b8a90b52dde11d6fdc034d8ff8a914070e77

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module SocialUrl
  class Google
    PARAMS = [:url]

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

    def url
      "https://plus.google.com/share?#{@params}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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