Sha256: d4afc89538e0b846a98ac6fab07acd4f6476d7adcaa05de62fb01d3b85a58347

Contents?: true

Size: 235 Bytes

Versions: 9

Compression:

Stored size: 235 Bytes

Contents

require_relative 'db/person'
require_relative 'person'

class People
  include Gummi::RepositoryLayer::Repository

  after_conversion :convert_name

  def convert_name(entity, db)
    entity.converted_name = db.name.reverse
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gummi-1.0.10 spec/support/models/people.rb
gummi-1.0.9 spec/support/models/people.rb
gummi-1.0.8 spec/support/models/people.rb
gummi-1.0.7 spec/support/models/people.rb
gummi-1.0.6 spec/support/models/people.rb
gummi-1.0.5 spec/support/models/people.rb
gummi-1.0.4 spec/support/models/people.rb
gummi-1.0.3 spec/support/models/people.rb
gummi-1.0.2 spec/support/models/people.rb