Class: Pluggy::Resources::LoanInterestRate
- Inherits:
-
APIResource
- Object
- PluggyObject
- APIResource
- Pluggy::Resources::LoanInterestRate
- Defined in:
- lib/pluggy/resources/loan.rb
Overview
Every enum below is left as a raw String on purpose.
The spec declares these in English (EFFECTIVE, SIMPLE, MONTHLY, UNIQUE, MINIMUM) but the live API returns the Open Finance Brasil Portuguese values (EFETIVA, SIMPLES, AA, UNICA, MINIMO). Modelling them as closed constants would reject real data.
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