Class: OpenGraphy::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/open_graphy/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#metatagsObject

Returns the value of attribute metatags.



4
5
6
# File 'lib/open_graphy/configuration.rb', line 4

def metatags
  @metatags
end

#user_agentObject

Returns the value of attribute user_agent.



4
5
6
# File 'lib/open_graphy/configuration.rb', line 4

def user_agent
  @user_agent
end