lib/panoptes/client/collections.rb in panoptes-client-1.0.0.pre1 vs lib/panoptes/client/collections.rb in panoptes-client-1.0.0
- old
+ new
@@ -1,9 +1,11 @@
+# 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)
+ panoptes.post("/collections/#{collection_id}/links/subjects", subjects: subject_ids)
end
end
end
end