Sha256: c667db76dafd7a800e4b67b14af837723867963ccf458d7c92b7d715d1d95e2f

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

require 'contracts'

module Rakuna
  module Accepts
    module Input
      include Contracts

      Contract None => Maybe[String]
      def input
        @input ||= request.body.to_s
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rakuna-core-1.0.2 lib/rakuna/accepts/input.rb
rakuna-core-1.0.1 lib/rakuna/accepts/input.rb
rakuna-core-1.0.0 lib/rakuna/accepts/input.rb