Sha256: 2daedaa34825923ad57666649b20fb08b9757e08bcf0249cc044ed69e732096e

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require 'pina/models/sales_item'
require 'pina/models/sales_invoice'
require 'pina/collections/sales_invoice'

module Pina
  class SalesInvoice
    extend Pina::Resource

    resource_methods :all, :where, :find, :create, :update

    class << self
      def new(params = nil)
        Pina::Models::SalesInvoice.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_invoice.rb