Class: Cadenya::Types::SyncStarted
- Inherits:
-
Object
- Object
- Cadenya::Types::SyncStarted
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ SyncStarted
constructor
A new instance of SyncStarted.
- #to_h ⇒ Object
Constructor Details
#initialize(message: nil) ⇒ SyncStarted
Returns a new instance of SyncStarted.
5482 5483 5484 |
# File 'lib/cadenya/types.rb', line 5482 def initialize(message: nil) @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5480 5481 5482 |
# File 'lib/cadenya/types.rb', line 5480 def @message end |
Class Method Details
.from_json(data) ⇒ Object
5486 5487 5488 5489 5490 |
# File 'lib/cadenya/types.rb', line 5486 def self.from_json(data) new( message: data["message"], ) end |