Class: PagSeguro::Notification

Inherits:
Object
  • Object
show all
Includes:
Extensions::MassAssignment
Defined in:
lib/pagseguro/notification.rb,
lib/pagseguro/notification/transaction.rb,
lib/pagseguro/notification/authorization.rb

Direct Known Subclasses

Authorization, Transaction

Defined Under Namespace

Classes: Authorization, Transaction

Instance Attribute Summary collapse

Method Summary

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#codeObject

The notification code sent by PagSeguro.



6
7
8
# File 'lib/pagseguro/notification.rb', line 6

def code
  @code
end

#typeObject

The notification type sent by PagSeguro.



9
10
11
# File 'lib/pagseguro/notification.rb', line 9

def type
  @type
end