ex_heroku_client v0.3.0 Heroku.Credit

Summary

Functions

Calls POST /account/credits

Calls GET /account/credits/#{credit_identity}

Calls GET /account/credits

Functions

create(params \\ %{})

Calls POST /account/credits

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "code1": {
      "description": "first code from a discount card",
      "example": "012abc",
      "type": [
        "string"
      ]
    },
    "code2": {
      "description": "second code from a discount card",
      "example": "012abc",
      "type": [
        "string"
      ]
    }
  },
  "type": [
    "object"
  ]
}
get(credit_identity)

Calls GET /account/credits/#{credit_identity}

index()

Calls GET /account/credits