Class: OpenGraphPlus::Tags::Plus

Inherits:
Base
  • Object
show all
Defined in:
lib/opengraphplus/tags.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#each, #render_in, #update

Instance Attribute Details

#selectorObject

Returns the value of attribute selector.



49
50
51
# File 'lib/opengraphplus/tags.rb', line 49

def selector
  @selector
end

#styleObject

Returns the value of attribute style.



50
51
52
# File 'lib/opengraphplus/tags.rb', line 50

def style
  @style
end

Instance Method Details

#tagsObject



61
62
63
64
65
66
# File 'lib/opengraphplus/tags.rb', line 61

def tags
  [
    Tag.new("og:plus:selector", selector),
    Tag.new("og:plus:style", style),
  ]
end