lib/yoti/http/payloads/aml_address.rb in yoti-1.6.4 vs lib/yoti/http/payloads/aml_address.rb in yoti-1.7.0
- old
+ new
@@ -5,9 +5,13 @@
attr_accessor :country
# @return [String] the postcode required for USA, optional otherwise
attr_accessor :post_code
+ #
+ # @param [String] country
+ # @param [String] post_code
+ #
def initialize(country, post_code = nil)
raise AmlError, 'AmlAddress requires a country.' if country.to_s.empty?
@country = country
@post_code = post_code