Class: EverSdk::Processing::ResultOfProcessMessage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transaction:, out_messages:, decoded: nil, fees:) ⇒ ResultOfProcessMessage

Returns a new instance of ResultOfProcessMessage.



69
70
71
72
73
74
# File 'lib/ever_sdk_client/processing.rb', line 69

def initialize(transaction:, out_messages:, decoded: nil, fees:)
  @transaction = transaction
  @out_messages = out_messages
  @decoded = decoded
  @fees = fees
end

Instance Attribute Details

#decodedObject (readonly)

Returns the value of attribute decoded.



67
68
69
# File 'lib/ever_sdk_client/processing.rb', line 67

def decoded
  @decoded
end

#feesObject (readonly)

Returns the value of attribute fees.



67
68
69
# File 'lib/ever_sdk_client/processing.rb', line 67

def fees
  @fees
end

#out_messagesObject (readonly)

Returns the value of attribute out_messages.



67
68
69
# File 'lib/ever_sdk_client/processing.rb', line 67

def out_messages
  @out_messages
end

#transactionObject (readonly)

Returns the value of attribute transaction.



67
68
69
# File 'lib/ever_sdk_client/processing.rb', line 67

def transaction
  @transaction
end

Instance Method Details

#to_hObject



76
77
78
79
80
81
82
83
# File 'lib/ever_sdk_client/processing.rb', line 76

def to_h
  {
    transaction: transaction,
    out_messages: out_messages,
    decoded: decoded,
    fees: fees
  }
end