class PostalAddress
Attributes
city[RW]
code[RW]
country[RW]
house[RW]
is_primary[RW]
line1[RW]
line2[RW]
region[RW]
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/miiCardConsumers.rb, line 220 def self.from_hash(hash) return PostalAddress.new( hash["Verified"], hash["House"], hash["Line1"], hash["Line2"], hash["City"], hash["Region"], hash["Code"], hash["Country"], hash["IsPrimary"] ) end
new(verified, house, line1, line2, city, region, code, country, is_primary)
click to toggle source
Calls superclass method
Claim::new
# File lib/miiCardConsumers.rb, line 207 def initialize(verified, house, line1, line2, city, region, code, country, is_primary) super(verified) @house = house @line1 = line1 @line2 = line2 @city = city @region = region @code = code @country = country @is_primary = is_primary end