Class: SEO::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/seo/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#proxyObject

Returns the value of attribute proxy.



4
5
6
# File 'lib/seo/config.rb', line 4

def proxy
  @proxy
end

#timeoutObject

Returns the value of attribute timeout.



4
5
6
# File 'lib/seo/config.rb', line 4

def timeout
  @timeout
end

Class Method Details

.instanceObject

Return the instance



7
8
9
# File 'lib/seo/config.rb', line 7

def self.instance
  @__instance__ ||= new
end

.settingsObject



11
12
13
14
15
16
17
# File 'lib/seo/config.rb', line 11

def self.settings
  if block_given?
    yield self.instance
  else
    self.instance
  end
end

Instance Method Details

#notifiersObject



19
20
21
22
23
24
25
# File 'lib/seo/config.rb', line 19

def notifiers
  if block_given?
    yield Notifiers.instance
  else
    Notifiers.instance
  end
end