Class: ModelTransporter::Configuration
- Inherits:
-
Object
- Object
- ModelTransporter::Configuration
- Defined in:
- lib/model_transporter/configuration.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#push_adapter ⇒ Object
Returns the value of attribute push_adapter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/model_transporter/configuration.rb', line 6 def initialize @push_adapter = PushAdapter::ActionCable.new end |
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
3 4 5 |
# File 'lib/model_transporter/configuration.rb', line 3 def actor @actor end |
#push_adapter ⇒ Object
Returns the value of attribute push_adapter.
4 5 6 |
# File 'lib/model_transporter/configuration.rb', line 4 def push_adapter @push_adapter end |