Sha256: 9232713688e2c3a920e32804d91702ecc38058960f730a424efd7cb4d56aa431
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 Bytes
Contents
module {{namespace_module}} module Accounts module Destroy class Normalizer include Shogun::Normalizer include Accounts METADATA = %w|id| def initialize(raw:) @id = raw["id"] if raw["rack.authentication"] && raw["rack.authentication"]["sessions"] @session = raw["rack.authentication"]["sessions"]["id"] end end def id @id end def session @session end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems