Class: KStor::Model::Group
Overview
A group of users that can access the same set of secrets.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns value of property id.
-
#name ⇒ Object
Returns value of property name.
-
#pubk ⇒ Object
Returns value of property pubk.
Instance Method Summary collapse
-
#to_h ⇒ Object
Dump properties except pubk.
Methods inherited from Base
#clean, #dirty?, #initialize, property, property?
Constructor Details
This class inherits a constructor from KStor::Model::Base
Instance Attribute Details
#id ⇒ Object
Returns value of property id
81 |
# File 'lib/kstor/model.rb', line 81 property :id |
#name ⇒ Object
Returns value of property name
83 |
# File 'lib/kstor/model.rb', line 83 property :name |
#pubk ⇒ Object
Returns value of property pubk
85 |
# File 'lib/kstor/model.rb', line 85 property :pubk |
Instance Method Details
#to_h ⇒ Object
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 |