Class: ViralLoops::Models::Participant::Convert
- Inherits:
-
Object
- Object
- ViralLoops::Models::Participant::Convert
- Defined in:
- lib/viral_loops/models/participant/convert.rb
Instance Attribute Summary collapse
-
#processing ⇒ Object
Returns the value of attribute processing.
Instance Method Summary collapse
-
#initialize(processing:) ⇒ Convert
constructor
A new instance of Convert.
- #processing? ⇒ Boolean
Constructor Details
#initialize(processing:) ⇒ Convert
Returns a new instance of Convert.
9 10 11 |
# File 'lib/viral_loops/models/participant/convert.rb', line 9 def initialize(processing:) @processing = processing end |
Instance Attribute Details
#processing ⇒ Object
Returns the value of attribute processing.
7 8 9 |
# File 'lib/viral_loops/models/participant/convert.rb', line 7 def processing @processing end |
Instance Method Details
#processing? ⇒ Boolean
13 |
# File 'lib/viral_loops/models/participant/convert.rb', line 13 def processing? = !!processing |