Skip to content

Commit

Permalink
allow specifying a host to EngagingNetworksRest.new
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed Oct 16, 2023
1 parent c576580 commit 80f4b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/engaging_networks_rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

module EngagingNetworksRest
class << self
def new(api_key:)
EngagingNetworksRest::Client.new(api_key: api_key)
def new(api_key:, host: EngagingNetworksRest::Client::ENS_DOMAIN)
EngagingNetworksRest::Client.new(api_key: api_key, host: host)
end
end
end

0 comments on commit 80f4b3c

Please sign in to comment.