ex_heroku_client v0.3.0 Heroku.Key

Summary

Functions

Calls POST /account/keys

Calls DELETE /account/keys/#{key_identity}

Calls GET /account/keys/#{key_identity}

Calls GET /account/keys

Functions

create(params)

Calls POST /account/keys

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "public_key": {
      "description": "full public_key as uploaded",
      "example": "ssh-rsa AAAAB3NzaC1ycVc/../839Uv username@example.com",
      "readOnly": true,
      "type": [
        "string"
      ]
    }
  },
  "required": [
    "public_key"
  ],
  "type": [
    "object"
  ]
}
destroy(key_identity)

Calls DELETE /account/keys/#{key_identity}

get(key_identity)

Calls GET /account/keys/#{key_identity}

index()

Calls GET /account/keys