Sha256: 4abf090342ced18eb6702d88d2fd54ea86596af40529057f333a209f69df8cfe

Contents?: true

Size: 182 Bytes

Versions: 8

Compression:

Stored size: 182 Bytes

Contents

module AuthLh
  class Role
    attr_accessor :code, :name

    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.3.1 lib/auth_lh/role.rb
auth-lh-0.3.0 lib/auth_lh/role.rb
auth-lh-0.2.4 lib/auth_lh/role.rb
auth-lh-0.2.3 lib/auth_lh/role.rb
auth-lh-0.2.2 lib/auth_lh/role.rb
auth-lh-0.2.1 lib/auth_lh/role.rb
auth-lh-0.2.0 lib/auth_lh/role.rb
auth-lh-0.1.1 lib/auth_lh/role.rb