Sha256: 00ee547eb9964cc76baadfd41b0bd495480e47fb7b856148a8aaeef5f7b88fb0

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

Stored size: 322 Bytes

Contents

require 'httparty'
module Mirage
  module Web
    def get *args
      HTTParty.get(*args)
    end
    def put *args
      HTTParty.put(*args)
    end
    def post *args
      puts "running this one"
      HTTParty.post(*args)
    end
    def delete *args
      HTTParty.delete(*args)
    end
  end
end

World(Mirage::Web)

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mirage-3.0.11 features/support/web.rb
mirage-3.0.10 features/support/web.rb
mirage-3.0.9 features/support/web.rb
mirage-on-thin-3.0.8 features/support/web.rb
mirage-3.0.8 features/support/web.rb
mirage-3.0.7 features/support/web.rb
mirage-3.0.6 features/support/web.rb
mirage-3.0.5 features/support/web.rb