sheetsu/sheetsu-ruby

View on GitHub
lib/sheetsu/update.rb

Summary

Maintainability
A
0 mins
Test Coverage
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