class PagSeguro::Transaction::Sender

Attributes

sender[R]

Public Class Methods

new(sender) click to toggle source
# File lib/pagseguro/transaction/sender.rb, line 6
def initialize(sender)
  @sender = sender
end

Public Instance Methods

email() click to toggle source
# File lib/pagseguro/transaction/sender.rb, line 14
def email
  sender['email']
end
name() click to toggle source
# File lib/pagseguro/transaction/sender.rb, line 10
def name
  sender['name']
end
phone() click to toggle source
# File lib/pagseguro/transaction/sender.rb, line 18
def phone
  Phone.new(sender['phone'])
end