Class: PayloadTranslator::Config
- Inherits:
-
Object
- Object
- PayloadTranslator::Config
- Defined in:
- lib/payload_translator/config.rb
Instance Attribute Summary collapse
-
#adapters_configurations ⇒ Object
Returns the value of attribute adapters_configurations.
-
#formatters ⇒ Object
Returns the value of attribute formatters.
-
#handlers ⇒ Object
Returns the value of attribute handlers.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
4 5 6 7 8 |
# File 'lib/payload_translator/config.rb', line 4 def initialize @handlers = {} @formatters = {} @adapters_configurations = {} end |
Instance Attribute Details
#adapters_configurations ⇒ Object
Returns the value of attribute adapters_configurations.
3 4 5 |
# File 'lib/payload_translator/config.rb', line 3 def adapters_configurations @adapters_configurations end |
#formatters ⇒ Object
Returns the value of attribute formatters.
3 4 5 |
# File 'lib/payload_translator/config.rb', line 3 def formatters @formatters end |
#handlers ⇒ Object
Returns the value of attribute handlers.
3 4 5 |
# File 'lib/payload_translator/config.rb', line 3 def handlers @handlers end |