Class: EverSdk::Processing::ParamsOfSendMessage
- Inherits:
-
Object
- Object
- EverSdk::Processing::ParamsOfSendMessage
- Defined in:
- lib/ever_sdk_client/processing.rb
Instance Attribute Summary collapse
-
#abi ⇒ Object
readonly
Returns the value of attribute abi.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#send_events ⇒ Object
readonly
Returns the value of attribute send_events.
Instance Method Summary collapse
-
#initialize(message:, abi: nil, send_events:) ⇒ ParamsOfSendMessage
constructor
A new instance of ParamsOfSendMessage.
- #to_h ⇒ Object
Constructor Details
#initialize(message:, abi: nil, send_events:) ⇒ ParamsOfSendMessage
Returns a new instance of ParamsOfSendMessage.
29 30 31 32 33 |
# File 'lib/ever_sdk_client/processing.rb', line 29 def initialize(message:, abi: nil, send_events:) @message = @abi = abi @send_events = send_events end |
Instance Attribute Details
#abi ⇒ Object (readonly)
Returns the value of attribute abi.
27 28 29 |
# File 'lib/ever_sdk_client/processing.rb', line 27 def abi @abi end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
27 28 29 |
# File 'lib/ever_sdk_client/processing.rb', line 27 def @message end |
#send_events ⇒ Object (readonly)
Returns the value of attribute send_events.
27 28 29 |
# File 'lib/ever_sdk_client/processing.rb', line 27 def send_events @send_events end |
Instance Method Details
#to_h ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/ever_sdk_client/processing.rb', line 35 def to_h { message: , abi: abi&.to_h, send_events: send_events } end |