Sha256: e527105c71db1179b5abf57a5016233bf38c716e041b15c52fedc62f3f3e60b5
Contents?: true
Size: 600 Bytes
Versions: 12
Compression:
Stored size: 600 Bytes
Contents
module NSISam # @attr [String] key The key of the stored data/file # @attr [String] checksum The checksum of the stored data/file # @attr [Hash, String, Array] data The stored object class Response def initialize(hash) @key, @checksum, @data, @deleted, @filename, @file = hash.values_at( 'key', 'checksum', 'data', 'deleted', 'filename', 'file') end attr_reader :key, :checksum, :data, :filename, :file # Check if some data was deleted sucessfully # # @return [Boolean] was the object deleted? # def deleted? !!@deleted end end end
Version data entries
12 entries across 12 versions & 1 rubygems