Class: Imageomatic::Opengraph::Metatag
- Inherits:
-
Struct
- Object
- Struct
- Imageomatic::Opengraph::Metatag
- Includes:
- ActionView::Helpers::TagHelper
- Defined in:
- app/models/imageomatic/opengraph/metatag.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#property ⇒ Object
Returns the value of attribute property.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
3 4 5 |
# File 'app/models/imageomatic/opengraph/metatag.rb', line 3 def content @content end |
#property ⇒ Object
Returns the value of attribute property
3 4 5 |
# File 'app/models/imageomatic/opengraph/metatag.rb', line 3 def property @property end |
Instance Method Details
#to_html ⇒ Object
6 7 8 |
# File 'app/models/imageomatic/opengraph/metatag.rb', line 6 def to_html tag :meta, property: property, content: content end |