Sha256: 7080c1870b0cb5932b29ad452f948a53c67702e892e978301078a5e6356f080a

Contents?: true

Size: 193 Bytes

Versions: 5

Compression:

Stored size: 193 Bytes

Contents

module AuthLh
  class Role
    attr_accessor :code, :name, :position

    def initialize(attributes={})
      attributes.each do |k,v|
        self.send("#{k}=", v)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auth-lh-0.12.1 lib/auth_lh/role.rb
auth-lh-0.12.0 lib/auth_lh/role.rb
auth-lh-0.11.2 lib/auth_lh/role.rb
auth-lh-0.11.1 lib/auth_lh/role.rb
auth-lh-0.11.0 lib/auth_lh/role.rb