Skip to content

Commit

Permalink
Allow client_id configuration on instance config (#952)
Browse files Browse the repository at this point in the history
It's necessary to allow `client_id` to be configured in order to move
towards supporting `StripeClient` instances.
  • Loading branch information
joeltaylor committed Jan 5, 2021
1 parent 9787913 commit 06bcc86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/stripe.rb
Expand Up @@ -79,13 +79,12 @@ class << self
def_delegators :@configuration, :logger, :logger=
def_delegators :@configuration, :max_network_retries, :max_network_retries=
def_delegators :@configuration, :enable_telemetry=, :enable_telemetry?
def_delegators :@configuration, :client_id=, :client_id

# Internal configurations
def_delegators :@configuration, :max_network_retry_delay
def_delegators :@configuration, :initial_network_retry_delay
def_delegators :@configuration, :ca_store

attr_accessor :client_id
end

# Gets the application for a plugin that's identified some. See
Expand Down

0 comments on commit 06bcc86

Please sign in to comment.