Sha256: f932bb80f2785dff549a18f6d1b132ed8669be039f10307666efc307d5573ac9

Contents?: true

Size: 197 Bytes

Versions: 5

Compression:

Stored size: 197 Bytes

Contents

module Brightpearl
  module APIOperations
    module Patch
      def patch(id, params)
        send_request(path: "#{resource_path}/#{id}", method: :patch, body: params)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-brightpearl-0.4.0 lib/brightpearl/api_operations/patch.rb
ruby-brightpearl-0.3.0 lib/brightpearl/api_operations/patch.rb
ruby-brightpearl-0.2.0 lib/brightpearl/api_operations/patch.rb
ruby-brightpearl-0.1.01 lib/brightpearl/api_operations/patch.rb
ruby-brightpearl-0.1.0 lib/brightpearl/api_operations/patch.rb