class TwistlockControl::Entity
An entity is basically a struct with typed fields.
Public Instance Methods
==(other)
click to toggle source
# File lib/twistlock_control/entity.rb, line 8 def ==(other) return false unless other.respond_to? :attributes attributes == other.attributes end
serialize()
click to toggle source
# File lib/twistlock_control/entity.rb, line 13 def serialize attributes.dup end