Sha256: d959e9990015a711cfae96d66be5c5ea9185e9cd58d23d225b96c16e78f23b54

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

module Sheetsu
  class Update < Sheetsu::Request

    def put(options)
      add_options_to_url(options)

      response = call(:put, options[:data])
      parse_response(response)
    end

    def patch(options)
      add_options_to_url(options)

      response = call(:patch, options[:data])
      parse_response(response)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sheetsu-1.1.0 lib/sheetsu/update.rb
sheetsu-1.0.0 lib/sheetsu/update.rb