Class: Notsofast::Config

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

Class Method Summary collapse

Class Method Details

.blacklistObject



43
44
45
# File 'lib/notsofast/config.rb', line 43

def self.blacklist
  @blacklist
end

.blacklist=(value) ⇒ Object



19
20
21
# File 'lib/notsofast/config.rb', line 19

def self.blacklist=(value)
  @blacklist = value
end

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



11
12
13
# File 'lib/notsofast/config.rb', line 11

def self.configure(&block)
  yield self
end

.limit_expiryObject



55
56
57
# File 'lib/notsofast/config.rb', line 55

def self.limit_expiry
  @limit_expiry
end

.limit_expiry=(value) ⇒ Object



31
32
33
# File 'lib/notsofast/config.rb', line 31

def self.limit_expiry=(value)
  @limit_expiry = value
end

.notifyObject



59
60
61
# File 'lib/notsofast/config.rb', line 59

def self.notify
  @notify
end

.notify=(value) ⇒ Object



35
36
37
# File 'lib/notsofast/config.rb', line 35

def self.notify=(value)
  @notify = value
end

.request_limitObject



47
48
49
# File 'lib/notsofast/config.rb', line 47

def self.request_limit
  @request_limit
end

.request_limit=(value) ⇒ Object



23
24
25
# File 'lib/notsofast/config.rb', line 23

def self.request_limit=(value)
  @request_limit = value
end

.response_typesObject



51
52
53
# File 'lib/notsofast/config.rb', line 51

def self.response_types
  @response_types
end

.response_types=(value) ⇒ Object



27
28
29
# File 'lib/notsofast/config.rb', line 27

def self.response_types=(value)
  @response_types = value
end

.whitelistObject



39
40
41
# File 'lib/notsofast/config.rb', line 39

def self.whitelist
  @whitelist
end

.whitelist=(value) ⇒ Object



15
16
17
# File 'lib/notsofast/config.rb', line 15

def self.whitelist=(value)
  @whitelist = value
end