Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gem 'data_nexus'
```ruby
client = DataNexus::Client.new(
api_key: ENV['DATANEXUS_API_KEY'],
base_url: 'https://api.datanexus.com' # optional
base_url: 'https://datanexus.darthealth.com' # optional
)
```

Expand Down
2 changes: 1 addition & 1 deletion lib/data_nexus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def configuration
# @example
# DataNexus.configure do |config|
# config.api_key = "your_api_key"
# config.base_url = "https://api.datanexus.com"
# config.base_url = "https://datanexus.darthealth.com"
# end
#
# @yield [Configuration]
Expand Down
6 changes: 3 additions & 3 deletions lib/data_nexus/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ module DataNexus
# @example Configure the client globally
# DataNexus.configure do |config|
# config.api_key = "your_api_key"
# config.base_url = "https://api.datanexus.com"
# config.base_url = "https://datanexus.darthealth.com"
# end
#
# @example Create a configuration instance
# config = DataNexus::Configuration.new(
# api_key: "your_api_key",
# base_url: "https://api.datanexus.com"
# base_url: "https://datanexus.darthealth.com"
# )
#
class Configuration
Expand All @@ -32,7 +32,7 @@ class Configuration
attr_accessor :ssl_verify

# Default base URL for the DataNexus API
DEFAULT_BASE_URL = 'https://api.datanexus.com'
DEFAULT_BASE_URL = 'https://datanexus.darthealth.com'

# Default request timeout in seconds
DEFAULT_TIMEOUT = 30
Expand Down