Class: DIDWW::Resource::AddressVerification
- Defined in:
- lib/didww/resource/address_verification.rb
Constant Summary collapse
- STATUS_PENDING =
'Pending'
- STATUS_APPROVED =
'Approved'
- STATUS_REJECTED =
'Rejected'
- STATUSES =
[ STATUS_PENDING, STATUS_APPROVED, STATUS_REJECTED ].freeze
Instance Method Summary collapse
- #approved? ⇒ Boolean
-
#pending? ⇒ Boolean
Type: String Description: GET or POST.
- #rejected? ⇒ Boolean
Methods inherited from Base
Instance Method Details
#approved? ⇒ Boolean
46 47 48 |
# File 'lib/didww/resource/address_verification.rb', line 46 def approved? status == STATUS_APPROVED end |
#pending? ⇒ Boolean
Type: String Description: GET or POST
42 43 44 |
# File 'lib/didww/resource/address_verification.rb', line 42 def pending? status == STATUS_PENDING end |
#rejected? ⇒ Boolean
50 51 52 |
# File 'lib/didww/resource/address_verification.rb', line 50 def rejected? status == STATUS_REJECTED end |