Recurly.api_key = Rails.configuration.recurly_private_api_key
Recurly.subdomain = Rails.configuration.recurly_subdomain
Recurly.default_currency = 'USD'
Recurly.logger = Rails.logger

Recurly::API.net_http = {
    ssl_version: :TLSv1_2,
    #...
}
