Method: Flagsmith::Engine::Project#initialize

Defined in:
lib/flagsmith/engine/projects/models.rb

#initialize(id:, name:, organisation:, hide_disabled_flags:, segments: []) ⇒ Project

Returns a new instance of Project.



10
11
12
13
14
15
16
# File 'lib/flagsmith/engine/projects/models.rb', line 10

def initialize(id:, name:, organisation:, hide_disabled_flags:, segments: [])
  @id = id
  @name = name
  @hide_disabled_flags = hide_disabled_flags
  @organisation = organisation
  @segments = segments
end