Sha256: beb68d855440efdefa7cfc24fd8e1b1b95e12d01cf513c4a432b356b835dad84

Contents?: true

Size: 314 Bytes

Versions: 8

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module Kanal
  module Core
    module Helpers
      class ResponseBlock
        attr_reader :block

        def initialize(block, async: false)
          @block = block
          @async = async
        end

        def async?
          @async
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kanal-0.7.0 lib/kanal/core/helpers/response_block.rb
kanal-0.6.0 lib/kanal/core/helpers/response_block.rb
kanal-0.5.1 lib/kanal/core/helpers/response_block.rb
kanal-0.5.0 lib/kanal/core/helpers/response_block.rb
kanal-0.4.3 lib/kanal/core/helpers/response_block.rb
kanal-0.4.2 lib/kanal/core/helpers/response_block.rb
kanal-0.4.1 lib/kanal/core/helpers/response_block.rb
kanal-0.4.0 lib/kanal/core/helpers/response_block.rb