Class: MangoModel::Event
- Inherits:
-
Object
- Object
- MangoModel::Event
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/event.rb
Overview
The Event entity
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#date ⇒ Object
- Integer
-
Time when the event happened (UNIX timestamp).
-
#event_type ⇒ Object
- EventType
-
Its type.
-
#resource_id ⇒ Object
- String
-
Its ID.
Method Summary
Methods included from MangoPay::Jsonifier
Instance Attribute Details
#date ⇒ Object
- Integer
-
Time when the event happened (UNIX timestamp)
13 14 15 |
# File 'lib/mangopay/model/event.rb', line 13 def date @date end |
#event_type ⇒ Object
- EventType
-
Its type
16 17 18 |
# File 'lib/mangopay/model/event.rb', line 16 def event_type @event_type end |
#resource_id ⇒ Object
- String
-
Its ID
10 11 12 |
# File 'lib/mangopay/model/event.rb', line 10 def resource_id @resource_id end |