class Mycrm::Models::OfficeAddress
Public Class Methods
find(id)
click to toggle source
# File lib/mycrm/models/office_address.rb, line 28 def self.find(id) find_by_organizationId(id) end
parse(body)
click to toggle source
# File lib/mycrm/models/office_address.rb, line 32 def self.parse(body) JSON.parse(body).find{ |address| !address['isMailing'] } || {} end