Class: Bcash::Api::PersonRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Bcash::Api::PersonRequest
- Defined in:
- lib/bcash/api/request/person_request.rb
Instance Attribute Summary collapse
-
#birth_date ⇒ Object
(also: #birthDate)
Returns the value of attribute birth_date.
-
#cpf ⇒ Object
Returns the value of attribute cpf.
-
#email ⇒ Object
Returns the value of attribute email.
-
#gender ⇒ Object
Returns the value of attribute gender.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rg ⇒ Object
Returns the value of attribute rg.
Instance Method Summary collapse
Instance Attribute Details
#birth_date ⇒ Object Also known as: birthDate
Returns the value of attribute birth_date.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def birth_date @birth_date end |
#cpf ⇒ Object
Returns the value of attribute cpf.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def cpf @cpf end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def email @email end |
#gender ⇒ Object
Returns the value of attribute gender.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def gender @gender end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def name @name end |
#rg ⇒ Object
Returns the value of attribute rg.
3 4 5 |
# File 'lib/bcash/api/request/person_request.rb', line 3 def rg @rg end |
Instance Method Details
#attributes ⇒ Object
9 10 11 |
# File 'lib/bcash/api/request/person_request.rb', line 9 def attributes { 'email' => email, 'gender' => gender, 'name' => name, 'cpf' => cpf, 'rg' => rg, 'birthDate' => birth_date } end |