Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions lib/ex_twilio/resources/key.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
defmodule ExTwilio.Key do
@moduledoc """
Represents an API Key resource in the Twilio API.

- [Twilio docs](https://www.twilio.com/docs/iam/keys/api-key)
"""
defstruct account_sid: nil,
date_created: nil,
date_updated: nil,
friendly_name: nil,
secret: nil,
sid: nil

use ExTwilio.Resource,
import: [
:find,
:create,
:update,
:destroy
]

def parents, do: [:account]
end