Class: Alma::Loan
- Inherits:
-
AlmaRecord
- Object
- AlmaRecord
- Alma::Loan
- Defined in:
- lib/alma/loan.rb
Instance Method Summary collapse
Methods inherited from AlmaRecord
#initialize, #method_missing, #post_initialize, #respond_to_missing?, #response
Constructor Details
This class inherits a constructor from Alma::AlmaRecord
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Alma::AlmaRecord
Instance Method Details
#renew ⇒ Object
4 5 6 |
# File 'lib/alma/loan.rb', line 4 def renew Alma::User.renew_loan({user_id: user_id, loan: self}) end |