Sha256: e6b41d84b62f5aa4274d95f5a6385e7f77f230632fec402b3887565fe05c7326
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
module Paysio module Actions module Update def update(attrs = {}) validate!(to_hash.merge(attrs)) response = Paysio::Client.request(:put, path, attrs) refresh_from(response.to_hash) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paysio-1.0.3 | lib/paysio/actions/update.rb |
paysio-1.0.2 | lib/paysio/actions/update.rb |