Sha256: 36ef464ede91373106902f4f9c056f049836ff6f969f8a1f76eb744e948ea5d6

Contents?: true

Size: 239 Bytes

Versions: 15

Compression:

Stored size: 239 Bytes

Contents

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

15 entries across 15 versions & 1 rubygems

Version Path
panoptes-client-1.0.0.pre1 lib/panoptes/client/collections.rb
panoptes-client-1.0.0.pre lib/panoptes/client/collections.rb
panoptes-client-0.4.0 lib/panoptes/client/collections.rb
panoptes-client-0.3.8 lib/panoptes/client/collections.rb
panoptes-client-0.3.7 lib/panoptes/client/collections.rb
panoptes-client-0.3.6 lib/panoptes/client/collections.rb
panoptes-client-0.3.5 lib/panoptes/client/collections.rb
panoptes-client-0.3.4 lib/panoptes/client/collections.rb
panoptes-client-0.3.3 lib/panoptes/client/collections.rb
panoptes-client-0.3.2 lib/panoptes/client/collections.rb
panoptes-client-0.3.1 lib/panoptes/client/collections.rb
panoptes-client-0.3.0 lib/panoptes/client/collections.rb
panoptes-client-0.2.13 lib/panoptes/client/collections.rb
panoptes-client-0.2.12 lib/panoptes/client/collections.rb
panoptes-client-0.2.11 lib/panoptes/client/collections.rb