Class: Rubill::Bill

Inherits:
Base
  • Object
show all
Defined in:
lib/rubill/entities/bill.rb

Instance Attribute Summary

Attributes inherited from Base

#remote_record

Class Method Summary collapse

Methods inherited from Base

#[], #[]=, active, all, create, delete, #delete, find, find_by_name, #id, #initialize, #save, update, where

Constructor Details

This class inherits a constructor from Rubill::Base

Class Method Details

.send_payment(opts) ⇒ Object



3
4
5
# File 'lib/rubill/entities/bill.rb', line 3

def self.send_payment(opts)
  SentPayment.create(opts)
end