tpitale/staccato

View on GitHub
lib/staccato/adapter/http.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Staccato
  module Adapter
    class HTTP # The Ruby HTTP Library Adapter
      def initialize(uri)
        @uri = uri
      end

      def post(params)
        ::HTTP.post(@uri, :form => params)
      end
    end
  end
end