Class: Pluggy::Resources::LoanInstallments

Inherits:
APIResource show all
Defined in:
lib/pluggy/resources/loan.rb

Constant Summary

Constants inherited from PluggyObject

PluggyObject::ISO8601, PluggyObject::RESERVED, PluggyObject::TEMPORAL_KEYS

Instance Attribute Summary

Attributes inherited from PluggyObject

#client

Instance Method Summary collapse

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

Instance Method Details

#overdue?Boolean

Returns:

  • (Boolean)


46
# File 'lib/pluggy/resources/loan.rb', line 46

def overdue? = self["pastDueInstallments"].to_i.positive?