Sha256: ee742232e32bd0f156a6fdd902aa7fdcba27ba9e20905653020e115928ac9e66
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
require 'pina/models/sales_item' require 'pina/models/sales_order' require 'pina/collections/sales_order' module Pina class SalesOrder extend Pina::Resource resource_methods :all, :where, :find class << self def new(params = nil) Pina::Models::SalesOrder.new(params) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pina-0.15.0 | lib/pina/sales_order.rb |