Sha256: 7922a900c1e4b676f0710600fdcd368cd0429aedb5d09e887ac58d9030a0b42b
Contents?: true
Size: 381 Bytes
Versions: 21
Compression:
Stored size: 381 Bytes
Contents
module Notifications class Client class ResponseNotification FIELDS = %i( id reference content template uri ).freeze attr_reader(*FIELDS) def initialize(notification) FIELDS.each do |field| instance_variable_set(:"@#{field}", notification.fetch(field.to_s, nil)) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems