hunter v0.3.0 Hunter.Card

Card entity

This module defines a Hunter.Card struct and the main functions for working with Cards

Fields

  • url- The url associated with the card
  • title - The title of the card
  • description - The card description
  • image - The image associated with the card, if any

Summary

Functions

Retrieve a card associated with a status

Types

t()
t() :: %Hunter.Card{description: String.t, image: String.t, title: String.t, url: URI.t}

Functions

card_by_status(conn, id)
card_by_status(Hunter.Client.t, non_neg_integer) :: Hunter.Card.t

Retrieve a card associated with a status

Parameters

  • conn - connection credentials
  • id - status id