class Omniorder::Product

Public Class Methods

find_by_code(code) click to toggle source

This implementation assumes the product to exist

# File lib/omniorder/product.rb, line 8
def self.find_by_code(code)
  new(:code => code)
end