Class: Models::OutletAttribute
- Inherits:
-
Base
- Object
- Struct
- Base
- Models::OutletAttribute
show all
- Defined in:
- lib/models/outlet_attribute.rb
Instance Attribute Summary
Attributes inherited from Base
#client, #data
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#base_record, #extra_records, #records, schema, stream, subclasses
Class Method Details
.path ⇒ Object
4
5
6
|
# File 'lib/models/outlet_attribute.rb', line 4
def self.path
nil
end
|
Instance Method Details
15
16
17
18
19
|
# File 'lib/models/outlet_attribute.rb', line 15
def transform
super.tap do |hash|
hash.merge! 'id' => hash.slice('outlet_id', 'key').values.join('.')
end
end
|