class PagSeguro::Phone

Attributes

area_code[RW]

Set the area code.

number[RW]

Set the phone number. Must have 7-9 numbers.

type[RW]

Set the type phone Must be HOME, MOBILE or BUSINESS

Public Instance Methods

==(other) click to toggle source
# File lib/pagseguro/phone.rb, line 16
def ==(other)
  [type, area_code, number] == [other.type, other.area_code, other.number]
end