Sha256: 6e2e310c89c0b79f545c2e1192fced61742798369d86ad03ec6cbcbaa21de456
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
# Concern module AttributesConverter def initialize(data = {}) if data['attributes'] if data['attributes'].is_a? Array data['attrs'] = data.delete 'attributes' binding.pry elsif data['attributes'].is_a? Hash puts data['attributes'] else binding.pry end end super data end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moysklad-0.4.0 | lib/moysklad/attributes_converter.rb |