Skip to content

Commit 0e1936f

Browse files
committed
fix: Move fdv2 data source builders into public API
1 parent 83666b7 commit 0e1936f

5 files changed

Lines changed: 434 additions & 227 deletions

File tree

lib/ldclient-rb/config.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,15 +468,15 @@ def self.default_capacity
468468
# @return [String] "https://sdk.launchdarkly.com"
469469
#
470470
def self.default_base_uri
471-
Impl::DataSystem::PollingDataSourceBuilder::DEFAULT_BASE_URI
471+
Impl::DataSystem::DEFAULT_POLLING_BASE_URI
472472
end
473473

474474
#
475475
# The default value for {#stream_uri}.
476476
# @return [String] "https://stream.launchdarkly.com"
477477
#
478478
def self.default_stream_uri
479-
Impl::DataSystem::StreamingDataSourceBuilder::DEFAULT_BASE_URI
479+
Impl::DataSystem::DEFAULT_STREAMING_BASE_URI
480480
end
481481

482482
#
@@ -516,7 +516,7 @@ def self.default_read_timeout
516516
# @return [Float] 1
517517
#
518518
def self.default_initial_reconnect_delay
519-
Impl::DataSystem::StreamingDataSourceBuilder::DEFAULT_INITIAL_RECONNECT_DELAY
519+
Impl::DataSystem::DEFAULT_INITIAL_RECONNECT_DELAY
520520
end
521521

522522
#
@@ -578,7 +578,7 @@ def self.default_offline
578578
# @return [Float] 30
579579
#
580580
def self.default_poll_interval
581-
Impl::DataSystem::PollingDataSourceBuilder::DEFAULT_POLL_INTERVAL
581+
Impl::DataSystem::DEFAULT_POLL_INTERVAL
582582
end
583583

584584
#

0 commit comments

Comments
 (0)