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.
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
#client ⇒ Object
161 162 163 |
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 161 def client @client ||= LocalhostSplitClient.new(@splits_file) end |
#manager ⇒ Object
165 166 167 |
# File 'lib/splitclient-rb/localhost_split_factory.rb', line 165 def manager @manager ||= LocalhostSplitManager.new(@splits_file) end |