Sha256: 268c3e0b66e515196431d1a6b7f99890455e4382676d8d5653db2426a7bc2bc2

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

# This is free and unencumbered software released into the public domain.

##
# Represents a NEAR transaction.
class NEAR::Transaction
  ##
  # @param [String, #to_s] hash
  def initialize(hash)
    @hash = hash.to_s
  end

  ##
  # The transaction hash.
  #
  # @return [String]
  attr_reader :hash

  ##
  # @return [String]
  def to_s; @hash; end
end # NEAR::Transaction

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
near-0.2.0 lib/near/transaction.rb
near-0.1.0 lib/near/transaction.rb