Sha256: 66c424864f5fed78e19e373d0918baf9bf6bb9783d8ca8cd6fd1b3dd4242ef52
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
module WebService module NamedRequestMethods def post(*args, &block) request(:post, *args, &block).data end def get(*args, &block) request(:get, *args, &block).data end def put(*args, &block) request(:put, *args, &block).data end def delete(*args, &block) request(:delete, *args, &block).data end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Roman2K-web-service-0.1.1 | lib/web_service/named_request_methods.rb |