Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Posting an array #5

@bugthing

Description

@bugthing

Thanks for the gem. 😃

One of the RollBar endpoint i want to hit with this gem expects an array of data posted to it.. this seems to cause an error

rules = [
  {
    "trigger" => "deploy",
    "filters" => [
      {
        "type" => "environment",
        "operation" => "eq",
        "value" => "production"
      }
    ]
  }
]
project.put("/api/1/notifications/slack/rules", rules)

TypeError: no implicit conversion of Symbol into Integer

Am i using the gem wrong?.. anything I can do to get around the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions