Sha256: d9a009a7b4ac8ae13751e232859743e73784d0d02506a0a0787f4a0848b1979d
Contents?: true
Size: 552 Bytes
Versions: 6
Compression:
Stored size: 552 Bytes
Contents
module {{namespace_module}} module {{resource_module}} module Destroy class Normalizer include Shogun::Normalizer include {{resource_module}} 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