- MODULE Plaid::Error
- MODULE Plaid::Models
- MODULE Plaid::SubproductMixin
- CLASS Plaid::APIError
- CLASS Plaid::AccessToken
- CLASS Plaid::Accounts
- CLASS Plaid::AccountsResponse
- CLASS Plaid::Apex
- CLASS Plaid::AssetReport
- CLASS Plaid::AssetReportCreateResponse
- CLASS Plaid::AssetReportFilterResponse
- CLASS Plaid::AssetReportGetResponse
- CLASS Plaid::AssetReportRefreshResponse
- CLASS Plaid::AssetReportRemoveResponse
- CLASS Plaid::AuditCopyCreateResponse
- CLASS Plaid::AuditCopyGetResponse
- CLASS Plaid::AuditCopyRemoveResponse
- CLASS Plaid::Auth
- CLASS Plaid::AuthResponse
- CLASS Plaid::Balance
- CLASS Plaid::BaseProduct
- CLASS Plaid::Categories
- CLASS Plaid::CategoriesResponse
- CLASS Plaid::Client
- CLASS Plaid::CreateResponse
- CLASS Plaid::CreditDetails
- CLASS Plaid::CreditDetailsResponse
- CLASS Plaid::DepositSwitch
- CLASS Plaid::Dwolla
- CLASS Plaid::GetResponse
- CLASS Plaid::Holdings
- CLASS Plaid::Identity
- CLASS Plaid::IdentityResponse
- CLASS Plaid::Income
- CLASS Plaid::IncomeResponse
- CLASS Plaid::InstitutionError
- CLASS Plaid::Institutions
- CLASS Plaid::InvalidInputError
- CLASS Plaid::InvalidRequestError
- CLASS Plaid::InvestmentTransactions
- CLASS Plaid::Investments
- CLASS Plaid::Item
- CLASS Plaid::ItemError
- CLASS Plaid::Liabilities
- CLASS Plaid::LiabilitiesResponse
- CLASS Plaid::LinkToken
- CLASS Plaid::Middleware
- CLASS Plaid::MultipleInstitutionsResponse
- CLASS Plaid::Ocrolus
- CLASS Plaid::PaymentCreateResponse
- CLASS Plaid::PaymentGetResponse
- CLASS Plaid::PaymentInitiation
- CLASS Plaid::PaymentListResponse
- CLASS Plaid::PaymentRecipientCreateResponse
- CLASS Plaid::PaymentRecipientGetResponse
- CLASS Plaid::PaymentRecipientListResponse
- CLASS Plaid::PaymentTokenCreateResponse
- CLASS Plaid::PlaidAPIError
- CLASS Plaid::PlaidError
- CLASS Plaid::PlaidServerError
- CLASS Plaid::Processor
- CLASS Plaid::ProcessorToken
- CLASS Plaid::ProcessorTokenResponse
- CLASS Plaid::PublicToken
- CLASS Plaid::RateLimitExceededError
- CLASS Plaid::Sandbox
- CLASS Plaid::SandboxItem
- CLASS Plaid::SandboxPublicToken
- CLASS Plaid::SingleInstitutionResponse
- CLASS Plaid::Stripe
- CLASS Plaid::Transactions
- CLASS Plaid::Webhook
- CLASS Plaid::Webhooks
VERSION | = | '13.2.0'.freeze |
API_VERSION | = | '2020-09-14'.freeze |
Sets value for relaxed_models.
Source: show
# File lib/plaid.rb, line 51 def relaxed_models=(value) @relaxed_models = value end
Get relaxed models state.
We support two modes for parsing response bodies.
Strict mode: Unknown attributes will cause NoMethodError.
Relaxed mode (default): If a response contains an unknown attribute, it won't cause any error and will be accessible using brackets notation: `response`.
Returns
Returns truey value for relaxed mode and falsey for strict.
Source: show
# File lib/plaid.rb, line 42 def relaxed_models? if defined?(@relaxed_models) @relaxed_models else true end end
Converts date objects to strings if needed.
Takes in a string or a Date object and performs necessary operations to return a string representation of the Date.
- date
-
Date in Date object form or string form (YYYY-MM-DD).
Returns
Returns a String with an ISO-8601 date.
Source: show
# File lib/plaid.rb, line 65 def self.convert_to_date_string(date) date.is_a?(String) ? date : date.to_date.strftime('%Y-%m-%d') end