Exception: SplitIoClient::LocalhostSplitFactory

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/splitclient-rb/localhost_split_factory.rb

Overview

main class for localhost split client sdk

Instance Method Summary collapse

Constructor Details

#initialize(splits_file) ⇒ LocalhostSplitFactory

Returns a new instance of LocalhostSplitFactory.



182
183
184
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 182

def initialize(splits_file)
  @splits_file = splits_file
end

Instance Method Details

#clientObject



186
187
188
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 186

def client
  @client ||= LocalhostSplitClient.new(@splits_file)
end

#managerObject



190
191
192
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 190

def manager
  @manager ||= LocalhostSplitManager.new(@splits_file)
end