Sha256: 0f6f04d272cefc25146fc844528344671c94bd1a67d00a66bd6ffbb20672652e

Contents?: true

Size: 924 Bytes

Versions: 32

Compression:

Stored size: 924 Bytes

Contents

module Toolhound

  # Class to parse GitHub repository owner and name from
  # URLs and to generate URLs
  class Manufacturer < Base


    # self.table_name   = :rental
    # self.primary_key  = :int_rental_id

    def default_selects
      {
        manufacturer:   [:int_manufacturer_id ],
        manufacturer_text: [:var_manufacturer, :var_phone, :var_fax, :var_url]
        # rental_item_detail: [:var_status, :status_date, ],
        # rental_detail: [:int_rental_id, :int_inventory_id, :int_quantity, :dec_daily, :dec_weekly, :dec_monthly, :dec_selling_price],
      }
    end

    def default_joins
      arr = []
      arr << "INNER JOIN tblManufacturerText ON (tblManufacturerText.intManufacturerID = tblManufacturer.intManufacturerID AND varLocaleID = '#{locale}')"
      # arr << "INNER JOIN tblRentalDetail ON (tblRentalDetail.intRentalDetailID = tblRentalItem.intRentalDetailID)"

      arr
    end

  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
toolhound-ruby-1.0.37 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.36 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.35 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.34 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.33 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.32 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.31 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.30 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.29 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.28 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.27 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.26 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.25 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.24 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.23 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.22 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.21 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.20 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.19 lib/toolhound-ruby/manufacturer.rb
toolhound-ruby-1.0.18 lib/toolhound-ruby/manufacturer.rb