Class: Shark::Activity

Inherits:
Base
  • Object
show all
Extended by:
ContactService::Resource
Defined in:
lib/shark/activity.rb

Class Method Summary collapse

Methods inherited from Base

add_datetime_accessors

Class Method Details

.find_all_by_contact_id(contact_id) ⇒ Object



7
8
9
# File 'lib/shark/activity.rb', line 7

def self.find_all_by_contact_id(contact_id)
  where(contact_id: contact_id).all
end