Allow client_id configuration on instance config (#952)

It's necessary to allow `client_id` to be configured in order to move
towards supporting `StripeClient` instances.
This commit is contained in:
Joel Taylor 2021-01-05 13:35:46 -08:00 committed by GitHub
parent 9787913b35
commit 06bcc863b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,13 +79,12 @@ module Stripe
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