Sha256: d14a1c588e89a1aaab804211046ef8e83d34c6c94ed6e8061f0bda629e6a0fc3

Contents?: true

Size: 220 Bytes

Versions: 7

Compression:

Stored size: 220 Bytes

Contents

module ActiverecordToPoro
  module MetadataEnabled
    def _metadata
      @_metadata ||= Metadata.new
    end


    def _set_metadata_from_ar=(ar_object)
      _metadata.initialize_from_ar(ar_object)
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
activerecord_to_poro-0.0.9 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.8 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.7 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.6 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.5 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.4 lib/activerecord_to_poro/metadata_enabled.rb
activerecord_to_poro-0.0.3 lib/activerecord_to_poro/metadata_enabled.rb