class IdentitySnapshotDetails

Attributes

snapshot_id[RW]
timestamp_utc[RW]
username[RW]
was_test_user[RW]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/miiCardConsumers.rb, line 725
def self.from_hash(hash)
        return IdentitySnapshotDetails.new(
                hash["SnapshotId"],
                hash["Username"],
                Util::parse_dot_net_json_datetime(hash["TimestampUtc"]),
                hash["WasTestUser"]
        )
end
new(snapshot_id, username, timestamp_utc, was_test_user) click to toggle source
# File lib/miiCardConsumers.rb, line 718
def initialize(snapshot_id, username, timestamp_utc, was_test_user)
        @snapshot_id = snapshot_id
        @username = username
        @timestamp_utc = timestamp_utc
        @was_test_user = was_test_user
end