module Listmonk::Endpoints::Campaigns
Direct including types
Defined in:
listmonk/endpoints/campaigns.crInstance Method Summary
- #all_campaigns(page : Int32 = 1, per_page : Int32 = 20, &) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil
- #all_campaigns(page : Int32 = 1, per_page : Int32 = 20) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil
- #create_campaign(request : Listmonk::Types::CampaignRequest, &) : Listmonk::Types::Campaign | Nil
- #create_campaign(request : Listmonk::Types::CampaignRequest) : Listmonk::Types::Campaign | Nil
- #fetch_campaign(campaign_id : Int32, &) : Listmonk::Types::Campaign | Nil
- #fetch_campaign(campaign_id : Int32) : Listmonk::Types::Campaign | Nil
Instance Method Detail
def all_campaigns(page : Int32 = 1, per_page : Int32 = 20, &) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil
#
def all_campaigns(page : Int32 = 1, per_page : Int32 = 20) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::Campaign)) | Nil
#
def create_campaign(request : Listmonk::Types::CampaignRequest, &) : Listmonk::Types::Campaign | Nil
#