class IdentitySnapshot

Attributes

details[RW]
snapshot[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/miiCardConsumers.rb, line 743
def self.from_hash(hash)
        return IdentitySnapshot.new(
                IdentitySnapshotDetails::from_hash(hash["Details"]),
                MiiUserProfile::from_hash(hash["Snapshot"])
        )
end
new(details, snapshot) click to toggle source
# File lib/miiCardConsumers.rb, line 738
def initialize(details, snapshot)
        @details = details
        @snapshot = snapshot
end