Class: Pluggy::APIResource
- Inherits:
-
PluggyObject
- Object
- PluggyObject
- Pluggy::APIResource
- Defined in:
- lib/pluggy/api_resource.rb
Overview
Base for the top-level API resources. Adds the client back-reference that makes navigation (account.transactions, bill.transactions, item.accounts) possible.
Objects built by a requestor always carry a client. Objects a caller constructs by hand do not, so ensure_client! explains that rather than letting a NoMethodError on nil surface.
Direct Known Subclasses
Resources::Account, Resources::AdditionalCard, Resources::Balance, Resources::BankData, Resources::Bill, Resources::BillFinanceCharge, Resources::BillPayment, Resources::BoletoMetadata, Resources::Category, Resources::ConnectToken, Resources::Connector, Resources::ConnectorCredential, Resources::ConnectorHealth, Resources::ConnectorHealthDetails, Resources::Count, Resources::CredentialOption, Resources::CreditCardMetadata, Resources::CreditData, Resources::DisaggregatedCreditLimit, Resources::Document, Resources::Item, Resources::ItemError, Resources::Loan, Resources::LoanBalloonPayment, Resources::LoanContractedFee, Resources::LoanContractedFinanceCharge, Resources::LoanInstallments, Resources::LoanInterestRate, Resources::LoanPaymentRelease, Resources::LoanPayments, Resources::LoanWarranty, Resources::Merchant, Resources::MerchantSearch, Resources::PaymentData, Resources::PaymentParticipant, Resources::ReservedBalance, Resources::Statement, Resources::StatusDetail, Resources::StatusDetailProduct, Resources::StatusDetailWarning, Resources::Transaction, Resources::UserAction
Constant Summary
Constants inherited from PluggyObject
PluggyObject::ISO8601, PluggyObject::RESERVED, PluggyObject::TEMPORAL_KEYS
Instance Attribute Summary
Attributes inherited from PluggyObject
Method Summary
Methods inherited from PluggyObject
#==, #[], #as_json, declared_fields, define_field, #each_pair, fields, #hash, #initialize, #inspect, #key?, #keys, #method_missing, nested, nested_types, #read, #respond_to_missing?, #to_h, #to_json, #values
Constructor Details
This class inherits a constructor from Pluggy::PluggyObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Pluggy::PluggyObject