Sha256: 65e934a1e8147b3f347602940b645158c40fcffce76800a07dfe8c89ef35e5d7
Contents?: true
Size: 345 Bytes
Versions: 19
Compression:
Stored size: 345 Bytes
Contents
module CurrencyCloud module Actions module Save def save return self if changed_attributes.empty? params = attributes.select { |attr| changed_attributes.include?(attr) } attrs = client.post(id, params) changed_attributes.clear self.attributes = attrs self end end end end
Version data entries
19 entries across 19 versions & 1 rubygems