Sha256: 4f7d9ffa14b0bfa4fe1f175d243a10cee26a08a24a6075755dadbd3d287e983e
Contents?: true
Size: 503 Bytes
Versions: 29
Compression:
Stored size: 503 Bytes
Contents
require 'pact_broker/db' require 'pact_broker/repositories/helpers' module PactBroker module Domain class Tag < Sequel::Model dataset_module do include PactBroker::Repositories::Helpers end unrestrict_primary_key associate(:many_to_one, :version, :class => "PactBroker::Domain::Version", :key => :version_id, :primary_key => :id) def <=> other name <=> other.name end end Tag.plugin :timestamps, :update_on_create=>true end end
Version data entries
29 entries across 29 versions & 1 rubygems