mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
More rebranding changes (#159)
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Provider::Plaid
|
||||
attr_reader :client, :region
|
||||
|
||||
MAYBE_SUPPORTED_PLAID_PRODUCTS = %w[transactions investments liabilities].freeze
|
||||
SUPPORTED_PLAID_PRODUCTS = %w[transactions investments liabilities].freeze
|
||||
MAX_HISTORY_DAYS = Rails.env.development? ? 90 : 730
|
||||
|
||||
def initialize(config, region: :us)
|
||||
@@ -45,7 +45,7 @@ class Provider::Plaid
|
||||
def get_link_token(user_id:, webhooks_url:, redirect_url:, accountable_type: nil, access_token: nil)
|
||||
request_params = {
|
||||
user: { client_user_id: user_id },
|
||||
client_name: "Maybe Finance",
|
||||
client_name: "Sure Finances",
|
||||
country_codes: country_codes,
|
||||
language: "en",
|
||||
webhook: webhooks_url,
|
||||
@@ -195,7 +195,7 @@ class Provider::Plaid
|
||||
def get_additional_consented_products(accountable_type)
|
||||
return [] if eu?
|
||||
|
||||
MAYBE_SUPPORTED_PLAID_PRODUCTS - [ get_primary_product(accountable_type) ]
|
||||
SUPPORTED_PLAID_PRODUCTS - [ get_primary_product(accountable_type) ]
|
||||
end
|
||||
|
||||
def eu?
|
||||
|
||||
Reference in New Issue
Block a user