class Listmonk::Client

Included Modules

Defined in:

listmonk/client.cr

Constructors

Instance Method Summary

Instance methods inherited from module Listmonk::Endpoints::Subscribers

all_subscribers(page : Int32 = 1, per_page : Int32 = 20, query : String | Nil = nil, &)
all_subscribers(page : Int32 = 1, per_page : Int32 = 20, query : String | Nil = nil)
all_subscribers
, blocklist_subscriber(subscriber_id : Int32, &) : Listmonk::Types::GenericResponse | Nil
blocklist_subscriber(subscriber_id : Int32) : Listmonk::Types::GenericResponse | Nil
blocklist_subscriber
, create_subscriber(request : Listmonk::Types::SubscribeRequest, &) : Listmonk::Types::Subscriber | Nil
create_subscriber(request : Listmonk::Types::SubscribeRequest) : Listmonk::Types::Subscriber | Nil
create_subscriber
, delete_subscriber(subscriber_id : Int32, &) : Listmonk::Types::GenericResponse | Nil
delete_subscriber(subscriber_id : Int32) : Listmonk::Types::GenericResponse | Nil
delete_subscriber
, fetch_subscriber(subscriber_id : Int32, &) : Listmonk::Types::Subscriber | Nil
fetch_subscriber(subscriber_id : Int32) : Listmonk::Types::Subscriber | Nil
fetch_subscriber

Instance methods inherited from module Listmonk::Endpoints::Lists

all_lists(page : Int32 = 1, per_page : Int32 = 20, &) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::List)) | Nil
all_lists(page : Int32 = 1, per_page : Int32 = 20) : Listmonk::Types::PaginatedResponse(Array(Listmonk::Types::List)) | Nil
all_lists
, create_list(request : Listmonk::Types::ListRequest, &) : Listmonk::Types::List | Nil
create_list(request : Listmonk::Types::ListRequest) : Listmonk::Types::List | Nil
create_list
, delete_list(list_id : Int32, &) : Listmonk::Types::GenericResponse | Nil
delete_list(list_id : Int32) : Listmonk::Types::GenericResponse | Nil
delete_list
, fetch_list(list_id : Int32, &) : Listmonk::Types::List | Nil
fetch_list(list_id : Int32) : Listmonk::Types::List | Nil
fetch_list
, update_list(list_id : Int32, request : Listmonk::Types::ListRequest, &) : Listmonk::Types::List | Nil
update_list(list_id : Int32, request : Listmonk::Types::ListRequest) : Listmonk::Types::List | Nil
update_list

Instance methods inherited from module Listmonk::Endpoints::Import

delete_import(&) : Listmonk::Types::ImportRequestResponse | Nil
delete_import : Listmonk::Types::ImportRequestResponse | Nil
delete_import
, fetch_import_status(&)
fetch_import_status : Listmonk::Types::ImportStatus | Nil
fetch_import_status
, import_subscribers(request : Listmonk::Types::ImportRequest, &) : Listmonk::Types::ImportRequestResponse | Nil
import_subscribers(request : Listmonk::Types::ImportRequest) : Listmonk::Types::ImportRequestResponse | Nil
import_subscribers

Instance methods inherited from module Listmonk::Endpoints::Campaigns

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
all_campaigns
, create_campaign(request : Listmonk::Types::CampaignRequest, &) : Listmonk::Types::Campaign | Nil
create_campaign(request : Listmonk::Types::CampaignRequest) : Listmonk::Types::Campaign | Nil
create_campaign
, fetch_campaign(campaign_id : Int32, &) : Listmonk::Types::Campaign | Nil
fetch_campaign(campaign_id : Int32) : Listmonk::Types::Campaign | Nil
fetch_campaign

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def http_client : HTTP::Client #

[View source]
def http_client=(http_client : HTTP::Client) #

[View source]