Sha256: f0031dad6ef3125503462a6d12e1bd68106d3f930f47bdbb9460b23a765f4bbe

Contents?: true

Size: 127 Bytes

Versions: 9

Compression:

Stored size: 127 Bytes

Contents

module UpdateBehavior
  def save!
    self.class.source.insert_one(attributes)
  end
end

Fish0::Model.include(UpdateBehavior)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
test_fish0-0.2.0 spec/support/update_behaviour.rb
fish0-0.2.0 spec/support/update_behaviour.rb
fish0-0.1.2 spec/support/update_behaviour.rb
fish0-0.1.1 spec/support/update_behaviour.rb
fish0-0.1.0 spec/support/update_behaviour.rb
fish0-0.0.18 spec/support/update_behaviour.rb
fish0-0.0.17 spec/support/update_behaviour.rb
fish0-0.0.16 spec/support/update_behaviour.rb
fish0-0.0.15 spec/support/update_behaviour.rb