Sha256: f0b657be2099738794fb0ef90bcf86dce117239ff0b00d02787ab37b535c3b6f

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

require 'protoable/convert'
require 'protoable/errors'
require 'protoable/fields'
require 'protoable/persistence'
require 'protoable/serialization'

module Protoable
  def self.included(klass)
    klass.extend Protoable::Fields

    klass.__send__(:include, Protoable::Convert)
    klass.__send__(:include, Protoable::Persistence)
    klass.__send__(:include, Protoable::Serialization)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protobuf-activerecord-1.0.5 lib/protoable.rb
protobuf-activerecord-1.0.4 lib/protoable.rb
protobuf-activerecord-1.0.3 lib/protoable.rb
protobuf-activerecord-1.0.2 lib/protoable.rb
protobuf-activerecord-1.0.1 lib/protoable.rb