Class: OpenGraphy::Configuration
- Inherits:
-
Object
- Object
- OpenGraphy::Configuration
- Includes:
- Singleton
- Defined in:
- lib/open_graphy/configuration.rb
Instance Attribute Summary collapse
-
#metatags ⇒ Object
Returns the value of attribute metatags.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/open_graphy/configuration.rb', line 6 def initialize @metatags = ['og:'] @user_agent = 'OpenGraphyBot' end |
Instance Attribute Details
#metatags ⇒ Object
Returns the value of attribute metatags.
4 5 6 |
# File 'lib/open_graphy/configuration.rb', line 4 def @metatags end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
4 5 6 |
# File 'lib/open_graphy/configuration.rb', line 4 def user_agent @user_agent end |