Class: ActiveSeo::Config
- Inherits:
-
Hashie::Dash
- Object
- Hashie::Dash
- ActiveSeo::Config
- Defined in:
- lib/active_seo/config.rb
Instance Method Summary collapse
Instance Method Details
#opengraph_setup {|self.opengraph| ... } ⇒ Object
22 23 24 25 |
# File 'lib/active_seo/config.rb', line 22 def opengraph_setup(&block) self.opengraph = OpenGraphConfig.new yield self.opengraph end |
#twitter_setup {|self.twitter| ... } ⇒ Object
27 28 29 30 |
# File 'lib/active_seo/config.rb', line 27 def twitter_setup(&block) self.twitter = TwitterCardConfig.new yield self.twitter end |