Class: Rubill::Customer

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

Instance Attribute Summary

Attributes inherited from Base

#remote_record

Instance 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

Instance Method Details

#contactsObject



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

def contacts
  CustomerContact.active_by_customer(id)
end