Sha256: 9043a12f2fbcc558c40ec1741fd3f5dc0a1fa8bdc45417ac658458009d6dce4f

Contents?: true

Size: 206 Bytes

Versions: 8

Compression:

Stored size: 206 Bytes

Contents

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
auth-lh-0.17.0 lib/auth_lh/role.rb
auth-lh-0.16.0 lib/auth_lh/role.rb
auth-lh-0.15.0 lib/auth_lh/role.rb
auth-lh-0.14.2 lib/auth_lh/role.rb
auth-lh-0.14.1 lib/auth_lh/role.rb
auth-lh-0.14.0 lib/auth_lh/role.rb
auth-lh-0.13.1 lib/auth_lh/role.rb
auth-lh-0.13.0 lib/auth_lh/role.rb