class Beehiiv::Post

Included Modules

Defined in:

beehiiv/objects/core/post.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.delete(client : HTTP::Client, publication_id : String, id : String) #

[View source]
def self.delete(post : Beehiiv::Post) #

[View source]
def self.list(client : HTTP::Client, publication_id : String) : List(Beehiiv::Post) #

[View source]
def self.retrieve(client : HTTP::Client, publication_id : String, id : String) : Object(Beehiiv::Post) #

[View source]
def self.retrieve(post : Beehiiv::Post) #

[View source]

Instance Method Detail

def audience : Audience #

[View source]
def authors : Array(String) | Nil #

[View source]
def content : Content | Nil #

[View source]
def content_tags : Array(String) | Nil #

[View source]
def created : Time | Nil #

[View source]
def displayed_date : Time | Nil #

[View source]
def id : String #

[View source]
def platform : Platform #

[View source]
def preview_text : String | Nil #

[View source]
def publish_date : Time | Nil #

[View source]
def slug : String | Nil #

[View source]
def split_tested : Bool | Nil #

[View source]
def stats : Stats | Nil #

[View source]
def status : Status #

[View source]
def subject_line : String | Nil #

[View source]
def subtitle : String | Nil #

[View source]
def thumbnail_url : String | Nil #

[View source]
def title : String | Nil #

[View source]
def web_url : String | Nil #

[View source]