Class: SocialUrl::Google
- Inherits:
-
Object
- Object
- SocialUrl::Google
- Defined in:
- lib/social_url/google.rb
Constant Summary collapse
- PARAMS =
[:url]
Instance Method Summary collapse
-
#initialize(options) ⇒ Google
constructor
A new instance of Google.
- #url ⇒ Object
Constructor Details
#initialize(options) ⇒ Google
Returns a new instance of Google.
5 6 7 |
# File 'lib/social_url/google.rb', line 5 def initialize() @params = SocialUrl.filtered_params(, PARAMS) end |
Instance Method Details
#url ⇒ Object
9 10 11 |
# File 'lib/social_url/google.rb', line 9 def url "https://plus.google.com/share?#{@params}" end |