Class: LucidIntercom::Convert
- Inherits:
-
Object
- Object
- LucidIntercom::Convert
- Defined in:
- lib/lucid_intercom/convert.rb
Instance Method Summary collapse
Instance Method Details
#call(attributes) ⇒ Hash
10 11 12 13 14 |
# File 'lib/lucid_intercom/convert.rb', line 10 def call(attributes) attributes.each_with_object({}) do |(k, obj), h| h[k] = convert(obj) end end |