Method: Colrapi.patch
- Defined in:
- lib/colrapi.rb
.patch(dataset_id, patch_id: nil, token: nil, verbose: false) ⇒ Object
Get metadata patch
709 710 711 712 713 714 715 |
# File 'lib/colrapi.rb', line 709 def self.patch(dataset_id, patch_id: nil, token: nil, verbose: false) endpoint = "dataset/#{dataset_id}/patch" unless patch_id.nil? endpoint = "#{endpoint}/#{patch_id}" end Request.new(endpoint: endpoint, token: token, verbose: verbose).perform end |