Sha256: 384d7d4e83ca7a056ab7a431341e668e92ecd4de0de1eebc3323f228ae4f72c9

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

module Panoptes
  class Client
    module Collections
      def add_subjects_to_collection(collection_id, subject_ids)
        panoptes.post("/collections/#{collection_id}/links/subjects", subjects: subject_ids)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panoptes-client-1.0.0 lib/panoptes/client/collections.rb