class CryptoconditionsRuby::Types::BaseSha256Fulfillment

Public Instance Methods

generate_hash() click to toggle source
# File lib/cryptoconditions_ruby/types/base_sha_256_fulfillment.rb, line 4
def generate_hash
  hasher = Utils::Hasher.new('sha256')
  write_hash_payload(hasher)
  hasher.digest
end
write_hash_payload(_hasher) click to toggle source
# File lib/cryptoconditions_ruby/types/base_sha_256_fulfillment.rb, line 10
def write_hash_payload(_hasher)
  raise 'Implement me'
end