Class: PagSeguro::Phone

Inherits:
Object
  • Object
show all
Includes:
Extensions::MassAssignment
Defined in:
lib/pagseguro/phone.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#area_codeObject

Set the area code.



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

def area_code
  @area_code
end

#numberObject

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



10
11
12
# File 'lib/pagseguro/phone.rb', line 10

def number
  @number
end