Class: EverSdk::Processing::ParamsOfSendMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/ever_sdk_client/processing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = message
  @abi = abi
  @send_events = send_events
end

Instance Attribute Details

#abiObject (readonly)

Returns the value of attribute abi.



27
28
29
# File 'lib/ever_sdk_client/processing.rb', line 27

def abi
  @abi
end

#messageObject (readonly)

Returns the value of attribute message.



27
28
29
# File 'lib/ever_sdk_client/processing.rb', line 27

def message
  @message
end

#send_eventsObject (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_hObject



35
36
37
38
39
40
41
# File 'lib/ever_sdk_client/processing.rb', line 35

def to_h
  {
    message: message,
    abi: abi&.to_h,
    send_events: send_events
  }
end