Sha256: 4eec66ffeaba8bc83d835827c7ce69d703babefc25959ac095a8a013a4b4b718
Contents?: true
Size: 552 Bytes
Versions: 10
Compression:
Stored size: 552 Bytes
Contents
module Hydra::AccessControls class Permission def initialize(args) @vals = {name: args[:name], access: args[:access], type: args[:type]} end def persisted? false end def [] var @vals[var] end def name self[:name] end def access self[:access] end def type self[:type] end def _destroy false end def == other other.is_a?(Permission) && self.name == other.name && self.type == other.type && self.access == other.access end end end
Version data entries
10 entries across 10 versions & 1 rubygems