Class: Notsofast::Config
- Inherits:
-
Object
- Object
- Notsofast::Config
- Defined in:
- lib/notsofast/config.rb
Class Method Summary collapse
- .blacklist ⇒ Object
- .blacklist=(value) ⇒ Object
- .configure {|_self| ... } ⇒ Object
- .limit_expiry ⇒ Object
- .limit_expiry=(value) ⇒ Object
- .notify ⇒ Object
- .notify=(value) ⇒ Object
- .request_limit ⇒ Object
- .request_limit=(value) ⇒ Object
- .response_types ⇒ Object
- .response_types=(value) ⇒ Object
- .whitelist ⇒ Object
- .whitelist=(value) ⇒ Object
Class Method Details
.blacklist ⇒ Object
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
11 12 13 |
# File 'lib/notsofast/config.rb', line 11 def self.configure(&block) yield self end |
.limit_expiry ⇒ Object
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 |
.notify ⇒ Object
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_limit ⇒ Object
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_types ⇒ Object
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 |
.whitelist ⇒ Object
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 |