Class: KStor::Model::Group

Inherits:
Base
  • Object
show all
Defined in:
lib/kstor/model.rb

Overview

A group of users that can access the same set of secrets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#clean, #dirty?, #initialize, property, property?

Constructor Details

This class inherits a constructor from KStor::Model::Base

Instance Attribute Details

#idObject

Returns value of property id

Returns:

  • returns value of property id



81
# File 'lib/kstor/model.rb', line 81

property :id

#nameObject

Returns value of property name

Returns:

  • returns value of property name



83
# File 'lib/kstor/model.rb', line 83

property :name

#pubkObject

Returns value of property pubk

Returns:

  • returns value of property pubk



85
# File 'lib/kstor/model.rb', line 85

property :pubk

Instance Method Details

#to_hObject

Dump properties except pubk.



88
89
90
91
92
93
# File 'lib/kstor/model.rb', line 88

def to_h
  h = super
  h.delete('pubk')

  h
end