Class: GetSchwifty::Cable::Base
- Inherits:
-
Object
- Object
- GetSchwifty::Cable::Base
- Defined in:
- lib/get_schwifty/cable/base.rb
Overview
:nodoc
Direct Known Subclasses
Instance Attribute Summary collapse
-
#identifiers ⇒ Object
readonly
Returns the value of attribute identifiers.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#schwifty_job_id ⇒ Object
readonly
Returns the value of attribute schwifty_job_id.
Instance Method Summary collapse
-
#initialize(schwifty_job_id, params, identifiers) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(schwifty_job_id, params, identifiers) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 |
# File 'lib/get_schwifty/cable/base.rb', line 9 def initialize(schwifty_job_id, params, identifiers) @schwifty_job_id = schwifty_job_id @identifiers = identifiers.symbolize_keys! @params = params end |
Instance Attribute Details
#identifiers ⇒ Object (readonly)
Returns the value of attribute identifiers.
7 8 9 |
# File 'lib/get_schwifty/cable/base.rb', line 7 def identifiers @identifiers end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
7 8 9 |
# File 'lib/get_schwifty/cable/base.rb', line 7 def params @params end |
#schwifty_job_id ⇒ Object (readonly)
Returns the value of attribute schwifty_job_id.
7 8 9 |
# File 'lib/get_schwifty/cable/base.rb', line 7 def schwifty_job_id @schwifty_job_id end |