Sha256: 4b6bd1a2e4d8e955593b43f5b667538f57c301496ce1137db390a63806b1ee7e

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

require 'db/person'
require 'person'

class People
  include Gummi::RepositoryLayer::Repository

  after_conversion :convert_name

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gummi-0.2.3 spec/support/models/people.rb
gummi-0.2.2 spec/support/models/people.rb
gummi-0.2.1 spec/fixtures/people.rb
gummi-0.2.0 spec/fixtures/people.rb