module FakePlaid

Constants

VERSION

Public Class Methods

stub_plaid() click to toggle source
# File lib/fake_plaid.rb, line 8
def self.stub_plaid
  # Plaid.env = 'sandbox'
  # Plaid.client_id = 'PLAID_CLIENT_ID'
  # Plaid.secret = 'PLAID_SECRET'
  # Plaid.public_key = 'PLAID_PUBLIC_KEY'
  #
  stub_request(:any, /plaid.com/).to_rack(FakePlaid::StubApp)
end