class ActiveSeo::Config

Public Instance Methods

opengraph_setup() { |opengraph| ... } click to toggle source
# File lib/active_seo/config.rb, line 22
def opengraph_setup(&block)
  self.opengraph = OpenGraphConfig.new
  yield self.opengraph
end
twitter_setup() { |twitter| ... } click to toggle source
# File lib/active_seo/config.rb, line 27
def twitter_setup(&block)
  self.twitter = TwitterCardConfig.new
  yield self.twitter
end