class Yoti::AmlAddress
Manages the AML check Address object
Attributes
country[RW]
@return [String] the country of residence in a ISO 3166 3-letter code format
post_code[RW]
@return [String] the postcode required for USA, optional otherwise
Public Class Methods
new(country, post_code = nil)
click to toggle source
@param [String] country @param [String] post_code
# File lib/yoti/http/payloads/aml_address.rb, line 14 def initialize(country, post_code = nil) raise AmlError, 'AmlAddress requires a country.' if country.to_s.empty? @country = country @post_code = post_code end