Sha256: 68a3d6f9d3d730991e3c5e4b369a409f78488c568b400553aeb516e74e86f649

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module Flagsmith
  module Segments
    # Data class to hold segment information.
    class Segment
      attr_reader :id, :name

      def initialize(id:, name:)
        @id = id
        @name = name
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flagsmith-4.1.0 lib/flagsmith/sdk/models/segments.rb
flagsmith-4.0.1 lib/flagsmith/sdk/models/segments.rb
flagsmith-4.0.0 lib/flagsmith/sdk/models/segments.rb
flagsmith-3.2.0 lib/flagsmith/sdk/models/segments.rb