Sha256: efc65820e83f1e1a146c541b73868031de49be68da294fb79d7153e2ee56e229

Contents?: true

Size: 204 Bytes

Versions: 17

Compression:

Stored size: 204 Bytes

Contents

require 'sequel'
require_relative 'db'

module AnimalService
  class AnimalRepository

    def self.find_alligator_by_name name
      DATABASE[:animals].where(name: name).single_record
    end

  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
pact-consumer-minitest-1.0.1 example/animal-service/lib/animal_service/animal_repository.rb
pact-consumer-minitest-1.0.0 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.4.0.rc4 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.4.0.rc3 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.4.0.rc2 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.3.3 example/animal-service/lib/animal_service/animal_repository.rb
pact-consumer-minitest-0.0.1 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.3.2 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.3.1 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.3.0 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.2.1.rc2 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.2.1.rc1 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.1.1 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.1.0 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.1.0.rc5 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.1.0.rc4 example/animal-service/lib/animal_service/animal_repository.rb
pact-1.1.0.rc3 example/animal-service/lib/animal_service/animal_repository.rb