Sha256: a37bd086e0764a81be01241b177aac4ddf7422a751cae8495770b21fc30f58fa

Contents?: true

Size: 352 Bytes

Versions: 6

Compression:

Stored size: 352 Bytes

Contents

module LucidArango
  module Document
    class Base
      include LucidArango::Node::Mixin

      if RUBY_ENGINE != 'opal'
        def self.inherited(base)
          Isomorfeus.add_valid_data_class(base)
          base.prop :pub_sub_client, default: nil
          base.prop :current_user, default: Anonymous.new
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
isomorfeus-data-1.0.0.zeta12 lib/lucid_arango/document/base.rb
isomorfeus-data-1.0.0.zeta11 lib/lucid_arango/document/base.rb
isomorfeus-data-1.0.0.zeta10 lib/lucid_arango/document/base.rb
isomorfeus-data-1.0.0.zeta9 lib/lucid_arango/document/base.rb
isomorfeus-data-1.0.0.zeta8 lib/lucid_arango/document/base.rb
isomorfeus-data-1.0.0.zeta6 lib/lucid_arango/document/base.rb