class EmailAddress

Attributes

address[RW]
display_name[RW]
is_primary[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/miiCardConsumers.rb, line 169
def self.from_hash(hash)
        return EmailAddress.new(
                hash["Verified"], 
                hash["DisplayName"], 
                hash["Address"], 
                hash["IsPrimary"]
        )
end
new(verified, display_name, address, is_primary) click to toggle source
Calls superclass method Claim::new
# File lib/miiCardConsumers.rb, line 161
def initialize(verified, display_name, address, is_primary)
        super(verified)
        
        @display_name = display_name
        @address = address
        @is_primary = is_primary
end