Sha256: 8239a00992949ece6b81ff61f281c97f4fa5f18d60a6c5e1af9ebd1bf8bb9d5c

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

module Http
  module Local
    module Route
      extend ActiveSupport::Concern

      def send_request(verb, route, body)
        header 'Accept', 'application/json'
        send verb, route, body
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-api-0.4.0 lib/rspec-api/http/local/route.rb
rspec-api-0.2.0 lib/rspec-api/http/local/route.rb
rspec-api-0.1.2 lib/rspec-api/http/local/route.rb
rspec-api-0.1.1 lib/rspec-api/http/local/route.rb