Sha256: c290b1cc7ade85f205c9c675ddaf08b31bb2e476310e08b68a84422678efffa1

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

require 'contracts'
require 'webmachine'
require 'webmachine/resource'
require 'rakuna/accepts/input'
require 'rakuna/provides/output'

module Rakuna
  module Resource
    class Basic < Webmachine::Resource
      include Contracts
      include Rakuna::Accepts::Input
      include Rakuna::Provides::Output

      Contract None => ArrayOf[String]
      def allowed_methods
        %w(HEAD GET)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rakuna-core-1.0.2 lib/rakuna/resource/basic.rb