module RealSavvy::Concern::UpdateForAdapter

Public Instance Methods

update(id:, attributes: {}) click to toggle source
# File lib/real_savvy/concern/update_for_adapter.rb, line 2
def update(id:, attributes: {})
  put("./api/v3/#{path_prefix}/#{id}", {data: {attributes: attributes}})
end