Class: Kameleoon::Types::DataFile

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/types/data_file.rb

Overview

DataFile

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feature_flags) ⇒ DataFile

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of DataFile.



10
11
12
# File 'lib/kameleoon/types/data_file.rb', line 10

def initialize(feature_flags)
  @feature_flags = feature_flags
end

Instance Attribute Details

#feature_flagsObject (readonly)

Returns the value of attribute feature_flags.



7
8
9
# File 'lib/kameleoon/types/data_file.rb', line 7

def feature_flags
  @feature_flags
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/kameleoon/types/data_file.rb', line 14

def to_s
  "DataFile{feature_flags:#{@feature_flags}}"
end