Sha256: e328d09d90a00c9b86a7ccef17a51504bf2c02ee5b2b9241240b4fd997bf6213

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

module OpConnect
  class APIRequest
    class Resource
      attr_reader :type, :vault, :item, :item_version

      def initialize(options = {})
        @type = options["type"]
        @vault = Object.new(options["vault"])
        @item = Object.new(options["item"])
        @item_version = options["item_version"]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
op_connect-0.1.3 lib/op_connect/api_request/resource.rb
op_connect-0.1.2 lib/op_connect/api_request/resource.rb
op_connect-0.1.1 lib/op_connect/api_request/resource.rb