Class: PagSeguro::Partner
- Inherits:
-
Object
- Object
- PagSeguro::Partner
- Includes:
- Extensions::MassAssignment
- Defined in:
- lib/pagseguro/partner.rb
Instance Attribute Summary collapse
-
#birth_date ⇒ Object
Pattern: aaaa-MM-dd.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Methods included from Extensions::MassAssignment
Instance Attribute Details
#birth_date ⇒ Object
Pattern: aaaa-MM-dd
8 9 10 |
# File 'lib/pagseguro/partner.rb', line 8 def birth_date @birth_date end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/pagseguro/partner.rb', line 5 def name @name end |
Instance Method Details
#documents ⇒ Object
10 11 12 |
# File 'lib/pagseguro/partner.rb', line 10 def documents @documents ||= Documents.new end |
#documents=(_documents = []) ⇒ Object
14 15 16 17 18 |
# File 'lib/pagseguro/partner.rb', line 14 def documents=(_documents=[]) _documents.each do |document| documents << document end end |