Class: OpenGraphPlus::Namespace::Root

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/opengraphplus/namespace.rb

Instance Method Summary collapse

Methods inherited from Base

#each, #render_in, #tag, #update

Instance Method Details

#ogObject



160
161
162
# File 'lib/opengraphplus/namespace.rb', line 160

def og
  @og ||= OG.new
end

#tagsObject



168
169
170
# File 'lib/opengraphplus/namespace.rb', line 168

def tags
  [*og.tags, *twitter.tags]
end

#twitterObject



164
165
166
# File 'lib/opengraphplus/namespace.rb', line 164

def twitter
  @twitter ||= Twitter.new
end