Sha256: 38896186d887db99db6dfdd5fc203d885273b81c950f8cad3cdbca1cab65877e

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

require_relative '../../util/non_instantiable'

module MangoModel

  # Base class for entities which provides common properties
  class EntityBase
    extend NonInstantiable

    # Unique identifier
    attr_accessor :id

    # Custom data
    attr_accessor :tag

    # Date of creation (UNIX timestamp)
    attr_accessor :creation_date
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/entity/entity_base.rb
mangopay-v4-4.0.2 lib/mangopay/model/entity/entity_base.rb
mangopay-v4-4.0.1 lib/mangopay/model/entity/entity_base.rb