Sha256: be15eeec207aee88b21de5fa97775049db42a6ce7f40786852a0ba773995a454

Contents?: true

Size: 163 Bytes

Versions: 9

Compression:

Stored size: 163 Bytes

Contents

module RealSavvy::Concern::UpdateForAdapter
  def update(id:, attributes: {})
    put("./api/v3/#{path_prefix}/#{id}", {data: {attributes: attributes}})
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
real_savvy-0.0.12 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.10 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.9 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.8 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.7 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.6 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.5 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.4 lib/real_savvy/concern/update_for_adapter.rb
real_savvy-0.0.3 lib/real_savvy/concern/update_for_adapter.rb