Method: SDM::Role#initialize

Defined in:
lib/models/porcelain.rb

#initialize(id: nil, name: nil, composite: nil, tags: nil) ⇒ Role

Returns a new instance of Role.



4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
# File 'lib/models/porcelain.rb', line 4977

def initialize(
  id: nil,
  name: nil,
  composite: nil,
  tags: nil
)
  if id != nil
    @id = id
  end
  if name != nil
    @name = name
  end
  if composite != nil
    @composite = composite
  end
  if tags != nil
    @tags = tags
  end
end