Class: Mycrm::Models::AdviserComplianceDetail

Inherits:
Object
  • Object
show all
Includes:
Mycrm::Model
Defined in:
lib/mycrm/models/adviser_compliance_detail.rb

Class Method Summary collapse

Methods included from Mycrm::Model

included

Class Method Details

.find(id) ⇒ Object



17
18
19
# File 'lib/mycrm/models/adviser_compliance_detail.rb', line 17

def self.find(id)
  self.find_by(:familyId, id)
end

.parse(body) ⇒ Object



21
22
23
# File 'lib/mycrm/models/adviser_compliance_detail.rb', line 21

def self.parse(body)
  JSON.parse(body)
end