class Models::OutletAttribute

Public Class Methods

path() click to toggle source
# File lib/models/outlet_attribute.rb, line 4
def self.path
  nil
end

Public Instance Methods

transform() click to toggle source
Calls superclass method
# 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