Sha256: 1d832fc8051ea0fa465a8a88080ed726c68d2b454b1b8f05887473562a841b79

Contents?: true

Size: 1.47 KB

Versions: 71

Compression:

Stored size: 1.47 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "http_patch",
  "path": "packages/ree_http/package/ree_http/functions/http_patch.rb",
  "mount_as": "fn",
  "class": "ReeHttp::HttpPatch",
  "factory": null,
  "methods": [
    {
      "doc": "Sends PATCH HTTP request to a specified destination.\nSee http_exec for usage examples.",
      "throws": [

      ],
      "return": "Net::HTTPResponse",
      "args": [
        {
          "arg": "url",
          "arg_type": "req",
          "type": "String"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:headers? => HashOf[Or[String, Symbol], Or[String, Integer]], :body? => Or[String, Hash, File], :form_data? => HashOf[Or[Symbol, String], Or[Integer, Float, Bool, String, Array, File]], :write_timeout? => Integer, :timeout? => Integer, :redirects_count? => Integer, :strict_redirect_mode? => Bool, :query_params? => HashOf[Or[String, Symbol], Any], :force_ssl? => Bool, :ca_certs? => ArrayOf[File], :basic_auth? => {:username => String, :password => String}, :bearer_token? => String, :proxy? => {:address => String, :port? => Integer, :username? => String, :password? => String}]"
        },
        {
          "arg": "block",
          "arg_type": "block",
          "type": "Block"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "http_exec",
      "package_name": "ree_http",
      "as": "http_exec",
      "imports": [
        "OPTS_CONTRACT"
      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.43 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.42 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.41 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.40 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.39 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.38 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.37 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.36 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.35 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.34 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json
ree_lib-1.0.33 lib/ree_lib/packages/ree_http/schemas/ree_http/functions/http_patch.schema.json