Class: CloudFoundry::Perm::V1::Models::Role

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/perm/v1/models/role.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#==

Constructor Details

#initialize(name:) ⇒ Role

Returns a new instance of Role.



10
11
12
# File 'lib/perm/v1/models/role.rb', line 10

def initialize(name:)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/perm/v1/models/role.rb', line 8

def name
  @name
end