Sha256: d854613ce4503d657bb2deed0da1c86a538c98250e861790606531b754ef69e0
Contents?: true
Size: 276 Bytes
Versions: 12
Compression:
Stored size: 276 Bytes
Contents
module JsonApiClient module Query class Update < Base self.request_method = :put def build_params(args) args = args.dup @params = {klass.primary_key => args.delete(klass.primary_key), klass.resource_name => args} end end end end
Version data entries
12 entries across 12 versions & 1 rubygems