Exception: SplitIoClient::LocalhostSplitFactory
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- SplitIoClient::LocalhostSplitFactory
- Defined in:
- lib/splitclient-rb/localhost_split_factory.rb
Overview
main class for localhost split client sdk
Instance Method Summary collapse
- #client ⇒ Object
-
#initialize(splits_file) ⇒ LocalhostSplitFactory
constructor
A new instance of LocalhostSplitFactory.
- #manager ⇒ Object
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
#client ⇒ Object
186 187 188 |
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 186 def client @client ||= LocalhostSplitClient.new(@splits_file) end |
#manager ⇒ Object
190 191 192 |
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 190 def manager @manager ||= LocalhostSplitManager.new(@splits_file) end |