Class: Panchira::PanchiraResult
- Inherits:
-
Object
- Object
- Panchira::PanchiraResult
- Defined in:
- lib/panchira/panchira_result.rb
Overview
Result class for Panchira.fetch.
Instance Attribute Summary collapse
-
#authors ⇒ Object
Returns the value of attribute authors.
-
#canonical_url ⇒ Object
Returns the value of attribute canonical_url.
-
#circle ⇒ Object
Returns the value of attribute circle.
-
#description ⇒ Object
Returns the value of attribute description.
-
#image ⇒ Object
Returns the value of attribute image.
-
#resolver ⇒ Object
Returns the value of attribute resolver.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
Instance Attribute Details
#authors ⇒ Object
Returns the value of attribute authors.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def @authors end |
#canonical_url ⇒ Object
Returns the value of attribute canonical_url.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def canonical_url @canonical_url end |
#circle ⇒ Object
Returns the value of attribute circle.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def circle @circle end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def description @description end |
#image ⇒ Object
Returns the value of attribute image.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def image @image end |
#resolver ⇒ Object
Returns the value of attribute resolver.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def resolver @resolver end |
#tags ⇒ Object
Returns the value of attribute tags.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def @tags end |
#title ⇒ Object
Returns the value of attribute title.
11 12 13 |
# File 'lib/panchira/panchira_result.rb', line 11 def title @title end |
Instance Method Details
#author ⇒ Object
13 14 15 |
# File 'lib/panchira/panchira_result.rb', line 13 def &.join(' ') end |
#author=(value) ⇒ Object
17 18 19 |
# File 'lib/panchira/panchira_result.rb', line 17 def (value) self. = [value] if value end |