Sha256: 295d5fa42ae8bcdb4257eccff7f54b35cdf3aae1c660f69dba777b117c07a1cb

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

module VaultTree
  class Key < Keyword
    attr_reader :vault_id

    def post_initialize(arg_array)
      @vault_id = arg_array[0]
    end

    def evaluate
      contract.retrieve_contents(vault_id)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vault-tree-0.3.4 lib/vault-tree/keywords/key.rb
vault-tree-0.3.3 lib/vault-tree/keywords/key.rb