class Models::ConsignmentProduct

Public Class Methods

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

Public Instance Methods

transform() click to toggle source
Calls superclass method
# File lib/models/consignment.rb, line 13
def transform
  super.tap do |hash|
    hash.merge!(
      'id' =>
         hash.slice('consignment_id', 'product_id').values.join('.')
    )
  end
end