Class: MangoModel::EntityBase

Inherits:
Object
  • Object
show all
Extended by:
NonInstantiable
Defined in:
lib/mangopay/model/entity/entity_base.rb

Overview

Base class for entities which provides common properties

Instance Attribute Summary collapse

Method Summary

Methods included from NonInstantiable

initialize

Instance Attribute Details

#creation_dateObject

Date of creation (UNIX timestamp)



16
17
18
# File 'lib/mangopay/model/entity/entity_base.rb', line 16

def creation_date
  @creation_date
end

#idObject

Unique identifier



10
11
12
# File 'lib/mangopay/model/entity/entity_base.rb', line 10

def id
  @id
end

#tagObject

Custom data



13
14
15
# File 'lib/mangopay/model/entity/entity_base.rb', line 13

def tag
  @tag
end