class PhoneNumber
Attributes
country_code[RW]
display_name[RW]
is_mobile[RW]
is_primary[RW]
national_number[RW]
Public Class Methods
from_hash(hash)
click to toggle source
# File lib/miiCardConsumers.rb, line 192 def self.from_hash(hash) return PhoneNumber.new( hash["Verified"], hash["DisplayName"], hash["CountryCode"], hash["NationalNumber"], hash["IsMobile"], hash["IsPrimary"] ) end
new(verified, display_name, country_code, national_number, is_mobile, is_primary)
click to toggle source
Calls superclass method
Claim::new
# File lib/miiCardConsumers.rb, line 182 def initialize(verified, display_name, country_code, national_number, is_mobile, is_primary) super(verified) @display_name = display_name @country_code = country_code @national_number = national_number @is_mobile = is_mobile @is_primary = is_primary end