Class: Configuration::Handler::HandlerConfiguration
- Inherits:
-
Object
- Object
- Configuration::Handler::HandlerConfiguration
- Defined in:
- lib/httpimagestore/configuration/handler.rb
Instance Attribute Summary collapse
-
#global ⇒ Object
Returns the value of attribute global.
-
#http_method ⇒ Object
Returns the value of attribute http_method.
-
#output ⇒ Object
Returns the value of attribute output.
-
#processors ⇒ Object
Returns the value of attribute processors.
-
#sources ⇒ Object
Returns the value of attribute sources.
-
#stores ⇒ Object
Returns the value of attribute stores.
-
#uri_matchers ⇒ Object
Returns the value of attribute uri_matchers.
-
#validators ⇒ Object
Returns the value of attribute validators.
Instance Method Summary collapse
-
#initialize(global, http_method, uri_matchers) ⇒ HandlerConfiguration
constructor
A new instance of HandlerConfiguration.
- #to_s ⇒ Object
Constructor Details
#initialize(global, http_method, uri_matchers) ⇒ HandlerConfiguration
Returns a new instance of HandlerConfiguration.
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/httpimagestore/configuration/handler.rb', line 105 def initialize(global, http_method, uri_matchers) @global = global @http_method = http_method @uri_matchers = uri_matchers @validators = [] @sources = [] @processors = [] @stores = [] @output = nil end |
Instance Attribute Details
#global ⇒ Object
Returns the value of attribute global.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def global @global end |
#http_method ⇒ Object
Returns the value of attribute http_method.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def http_method @http_method end |
#output ⇒ Object
Returns the value of attribute output.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def output @output end |
#processors ⇒ Object
Returns the value of attribute processors.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def processors @processors end |
#sources ⇒ Object
Returns the value of attribute sources.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def sources @sources end |
#stores ⇒ Object
Returns the value of attribute stores.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def stores @stores end |
#uri_matchers ⇒ Object
Returns the value of attribute uri_matchers.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def uri_matchers @uri_matchers end |
#validators ⇒ Object
Returns the value of attribute validators.
116 117 118 |
# File 'lib/httpimagestore/configuration/handler.rb', line 116 def validators @validators end |
Instance Method Details
#to_s ⇒ Object
118 119 120 |
# File 'lib/httpimagestore/configuration/handler.rb', line 118 def to_s "#{@http_method} #{@uri_matchers.join(', ')}" end |