class PagseguroCatcher::Transaction::Sender
Public Class Methods
new(body)
click to toggle source
# File lib/pagseguro_catcher/transaction/sender.rb, line 6 def initialize(body) self.body = body[:sender] end
Public Instance Methods
email()
click to toggle source
# File lib/pagseguro_catcher/transaction/sender.rb, line 14 def email self[:email] end
name()
click to toggle source
# File lib/pagseguro_catcher/transaction/sender.rb, line 10 def name self[:name] end
phone()
click to toggle source
# File lib/pagseguro_catcher/transaction/sender.rb, line 18 def phone { :area => self[:phone][:areaCode], :number => self[:phone][:number] } end