Method: WhiteLabelMachineName::TransactionCommentCreate#hash

Defined in:
lib/whitelabelmachinename-ruby-sdk/models/transaction_comment_create.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



112
113
114
# File 'lib/whitelabelmachinename-ruby-sdk/models/transaction_comment_create.rb', line 112

def hash
  [content, transaction].hash
end