【发布时间】:2021-06-21 02:58:19
【问题描述】:
我正在使用对讲机 ruby gem。我的company 回复之一如下所示:
@company_id="648",
@created_at=1578937499,
@custom_attributes=
{"cname"=>nil,
"contacts"=>1,
"ein"=>"xyz123"
}
为了通过 company_id 进行搜索,我可以这样做:intercom.companies.find(company_id: 648)(参考:https://github.com/intercom/intercom-ruby#search-for-customers)。但是,我想通过自定义属性ein 之一进行搜索。有可能吗?
【问题讨论】: