Sha256: b61e25750695a8738f9ee4f6bd0f5bef33d13095f6695bc882cf8d8c81fa8ffb
Contents?: true
Size: 728 Bytes
Versions: 32
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true module Karafka module Web module Ui module Controllers # Response related components module Responses # Response data object. It is used to transfer attributes assigned in controllers into # views # It acts as a simplification / transport layer for assigned attributes class Data attr_reader :path, :attributes # @param path [String] render path # @param attributes [Hash] attributes assigned in the controller def initialize(path, attributes) @path = path @attributes = attributes end end end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems