Class: OpConnect::Vault

Inherits:
Object
  • Object
show all
Defined in:
lib/op_connect/vault.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Vault

Returns a new instance of Vault.



5
6
7
8
9
10
11
12
13
14
# File 'lib/op_connect/vault.rb', line 5

def initialize(options = {})
  @id = options["id"]
  @name = options["name"]
  @attribute_version = options["attributeVersion"]
  @content_version = options["contentVersion"]
  @items = options["items"]
  @type = options["type"]
  @created_at = options["createdAt"]
  @updated_at = options["updatedAt"]
end

Instance Attribute Details

#attribute_versionObject (readonly)

Returns the value of attribute attribute_version.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def attribute_version
  @attribute_version
end

#content_versionObject (readonly)

Returns the value of attribute content_version.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def content_version
  @content_version
end

#created_atObject (readonly)

Returns the value of attribute created_at.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def created_at
  @created_at
end

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def id
  @id
end

#itemsObject (readonly)

Returns the value of attribute items.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def items
  @items
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def type
  @type
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



3
4
5
# File 'lib/op_connect/vault.rb', line 3

def updated_at
  @updated_at
end