Sha256: dc134690ceca5e3c4f71e057a5d060ab856766c03f3b36f1f59e74235e4857bb

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

module VaultTree
  class Contents < 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

3 entries across 3 versions & 1 rubygems

Version Path
vault-tree-0.3.4 lib/vault-tree/keywords/contents.rb
vault-tree-0.3.3 lib/vault-tree/keywords/contents.rb
vault-tree-0.1.0 lib/vault-tree/keywords/vault_contents.rb