Method: Optimizely::InvalidDatafileVersionError#initialize

Defined in:
lib/optimizely/exceptions.rb

#initialize(version) ⇒ InvalidDatafileVersionError

Raised when a datafile with an unsupported version is provided



87
88
89
# File 'lib/optimizely/exceptions.rb', line 87

def initialize(version)
  super("This version of the Ruby SDK does not support the given datafile version: #{version}.")
end