Sha256: de37274f6327bfced43b50a25bd22b00008af1a3bf524750cfab7fa4b2610fa9

Contents?: true

Size: 1.62 KB

Versions: 14

Compression:

Stored size: 1.62 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "build_request",
  "path": "packages/ree_http/package/ree_http/functions/build_request.rb",
  "mount_as": "fn",
  "class": "ReeHttp::BuildRequest",
  "factory": null,
  "methods": [
    {
      "doc": "Builds Net::HTTPRequest with specified method, url, headers, body, form data,\nquery params, basic auth or bearer token. Forces SSL mode",
      "throws": [
        "ArgumentError"
      ],
      "return": "Net::HTTPRequest",
      "args": [
        {
          "arg": "method",
          "arg_type": "req",
          "type": "Symbol"
        },
        {
          "arg": "url",
          "arg_type": "req",
          "type": "String"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:headers? => HashOf[Or[String, Symbol], Or[String, Integer]], :body? => Or[HashOf[Or[Symbol, String], Or[Integer, Float, Bool, String, Hash, Array]], String, File], :form_data? => HashOf[Or[Symbol, String], Or[Integer, Float, Bool, String, Array, File]], :query_params? => HashOf[Or[String, Symbol], Or[String, Integer]], :force_ssl? => Bool, :basic_auth? => {:username => String, :password => String}, :bearer_token? => String]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "not_blank",
      "package_name": "ree_object",
      "as": "not_blank",
      "imports": [

      ]
    },
    {
      "target": "slice",
      "package_name": "ree_hash",
      "as": "slice",
      "imports": [

      ]
    },
    {
      "target": "to_json",
      "package_name": "ree_json",
      "as": "to_json",
      "imports": [

      ]
    }
  ]
}

Version data entries

14 entries across 14 versions & 1 rubygems

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