sanger/sequencescape

View on GitHub
app/api/endpoints/reference_genomes.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# Controls API V1 {::Core::Endpoint::Base endpoints} for ReferenceGenomes
class Endpoints::ReferenceGenomes < Core::Endpoint::Base
  model { action(:create, to: :standard_create!) }

  instance { action(:update, to: :standard_update!) }
end