module Listmonk::Endpoints::Campaigns

Direct including types

Defined in:

listmonk/endpoints/campaigns.cr

Instance Method Summary

Instance Method Detail

def all_campaigns(page : Int32 = 1, per_page : Int32 = 20, &) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil #

[View source]
def all_campaigns(page : Int32 = 1, per_page : Int32 = 20) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil #

[View source]
def create_campaign(request : Listmonk::Types::CampaignRequest, &) : Listmonk::Types::Campaign | Nil #

[View source]
def create_campaign(request : Listmonk::Types::CampaignRequest) : Listmonk::Types::Campaign | Nil #

[View source]
def fetch_campaign(campaign_id : Int32, &) : Listmonk::Types::Campaign | Nil #

[View source]
def fetch_campaign(campaign_id : Int32) : Listmonk::Types::Campaign | Nil #

[View source]