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) #

Class Method Detail

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

def self.delete(post : Beehiiv::Post) #

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

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

def self.retrieve(post : Beehiiv::Post) #

Instance Method Detail

def audience : Audience #

def authors : Array(String) | Nil #

def content : Content | Nil #

def content_tags : Array(String) | Nil #

def created : Time | Nil #

def displayed_date : Time | Nil #

def id : String #

def platform : Platform #

def preview_text : String | Nil #

def publish_date : Time | Nil #

def slug : String | Nil #

def split_tested : Bool | Nil #

def stats : Stats | Nil #

def status : Status #

def subject_line : String | Nil #

def subtitle : String | Nil #

def thumbnail_url : String | Nil #

def title : String | Nil #

def web_url : String | Nil #