Sha256: e9b9954c6aec101d4a5448e207a11adf8f3b4c52135d64827a9565f53b78ba40

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
social-url-1.1.0 lib/social_url/google.rb
social-url-1.0.3 lib/social_url/google.rb
social-url-1.0.2 lib/social_url/google.rb
social-url-1.0.1 lib/social_url/google.rb
social-url-1.0.0 lib/social_url/google.rb