Class: PinterestShare::Generation
- Inherits:
-
Object
- Object
- PinterestShare::Generation
- Defined in:
- lib/pinterest_share/generation.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Generation
constructor
A new instance of Generation.
- #to_s ⇒ Object
Constructor Details
#initialize(options) ⇒ Generation
Returns a new instance of Generation.
3 4 5 6 |
# File 'lib/pinterest_share/generation.rb', line 3 def initialize() = @url = url_for end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/pinterest_share/generation.rb', line 8 def to_s @url end |