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.



157
158
159
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 157

def initialize(splits_file)
  @splits_file = splits_file
end

Instance Method Details

#clientObject



161
162
163
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 161

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

#managerObject



165
166
167
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 165

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