Closed graemeboyd closed 8 years ago
Hi @graemeboyd, it seems like CI is failing, possibly due to the gemspec changes?
Actually I believe #73 was trying to do the same thing. and Issue #220 for reference. I would love to see this feature that makes using the intercom-rails horrible for a lot of attributes
@graemeboyd thanks for contributing. I just merged a PR that's allowing to create custom attributes with Proc (https://github.com/intercom/intercom-rails/pull/225) so I'm closing this one.
Custom data can now be a Proc which is called with the user or company at runtime. The Proc must return a hash which will be set as the custom data and sent to Intercom.
Fix for #156