Class: GoogleAlerts::Result
- Inherits:
-
Struct
- Object
- Struct
- GoogleAlerts::Result
- Defined in:
- lib/google_alerts/result.rb
Instance Attribute Summary collapse
-
#blurb ⇒ Object
Returns the value of attribute blurb.
-
#link ⇒ Object
Returns the value of attribute link.
-
#source ⇒ Object
Returns the value of attribute source.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#blurb ⇒ Object
Returns the value of attribute blurb
3 4 5 |
# File 'lib/google_alerts/result.rb', line 3 def blurb @blurb end |
#link ⇒ Object
Returns the value of attribute link
3 4 5 |
# File 'lib/google_alerts/result.rb', line 3 def link @link end |
#source ⇒ Object
Returns the value of attribute source
3 4 5 |
# File 'lib/google_alerts/result.rb', line 3 def source @source end |
#title ⇒ Object
Returns the value of attribute title
3 4 5 |
# File 'lib/google_alerts/result.rb', line 3 def title @title end |
Instance Method Details
#to_s ⇒ Object
4 5 6 |
# File 'lib/google_alerts/result.rb', line 4 def to_s "#{title} #{link}" end |