Sha256: 886970cbab8524687b1174d942d2b5dfc08c7eff352a28c27855e96c2040ea7b
Contents?: true
Size: 371 Bytes
Versions: 9
Compression:
Stored size: 371 Bytes
Contents
module Payjp module APIOperations module Update def save(params = {}, opts = {}) values = self.class.serialize_params(self).merge(params) if values.length > 0 values.delete(:id) response, opts = request(:post, url, values, opts) refresh_from(response, opts) end self end end end end
Version data entries
9 entries across 9 versions & 1 rubygems