Sha256: 77d23efecb4c2ed1e7d9fb6298f066feabd392bba1e807d95070d11f7f28648f
Contents?: true
Size: 509 Bytes
Versions: 4
Compression:
Stored size: 509 Bytes
Contents
module Sidetree module CAS class FetchResult CODE_CAS_NOT_REACHABLE = "cas_not_reachable" CODE_INVALID_HASH = "content_hash_invalid" CODE_MAX_SIZE_EXCEEDED = "content_exceeds_maximum_allowed_size" CODE_NOT_FILE = "content_not_a_file" CODE_NOT_FOUND = "content_not_found" CODE_SUCCESS = "success" attr_reader :code attr_reader :content def initialize(code, content = nil) @code = code @content = content end end end end
Version data entries
4 entries across 4 versions & 1 rubygems