Sha256: 423bea2f16344a012cfb2e5cc0c2c927b12bad57e6500be04351a67cbb3c72b5

Contents?: true

Size: 1.26 KB

Versions: 19

Compression:

Stored size: 1.26 KB

Contents

# EXECUTE HumanResources.uspGetEmployees @FirstName = N'Pilar', @LastName = N'Ackerman';
module Toolhound

  # Class to parse GitHub repository owner and name from
  # URLs and to generate URLs
  class Job < 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

    def insert(variables = {})
      vars = {created_user_id: 1, modified_user_id: 1, active: true, job: nil, created_date: nil, modified_date: nil}
      # procedure("Job_Insert", vars)
    end

    def remove(job_id)
      # procedure("Job_Delete", {job_id: job_id})
    end


  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
toolhound-ruby-1.0.30 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.29 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.28 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.27 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.26 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.25 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.24 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.23 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.22 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.21 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.20 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.19 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.18 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.17 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.16 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.15 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.14 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.13 lib/toolhound-ruby/job.rb
toolhound-ruby-1.0.12 lib/toolhound-ruby/job.rb