Class: MangoModel::Event

Inherits:
Object
  • Object
show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/event.rb

Overview

The Event entity

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Instance Attribute Details

#dateObject

Integer

Time when the event happened (UNIX timestamp)



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

def date
  @date
end

#event_typeObject

EventType

Its type



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

def event_type
  @event_type
end

#resource_idObject

String

Its ID



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

def resource_id
  @resource_id
end