sanger/sequencescape

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
module Endpoints
  class TransferRequestCollections < ::Core::Endpoint::Base
    model { action(:create, to: :standard_create!) }

    instance { belongs_to(:user, json: 'user') }
  end
end