Class: SolidQueue::Configuration::Process
- Inherits:
-
Struct
- Object
- Struct
- SolidQueue::Configuration::Process
- Defined in:
- lib/solid_queue/configuration.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#kind ⇒ Object
Returns the value of attribute kind.
Instance Method Summary collapse
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
5 6 7 |
# File 'lib/solid_queue/configuration.rb', line 5 def attributes @attributes end |
#kind ⇒ Object
Returns the value of attribute kind
5 6 7 |
# File 'lib/solid_queue/configuration.rb', line 5 def kind @kind end |
Instance Method Details
#instantiate ⇒ Object
6 7 8 |
# File 'lib/solid_queue/configuration.rb', line 6 def instantiate "SolidQueue::#{kind.to_s.titleize}".safe_constantize.new(**attributes) end |