class Devto::Post

Included Modules

Defined in:

devto/post.cr

Constructors

Instance Method Summary

Instance methods inherited from class Medup::Post

created_at : Time created_at, created_at=(created_at : Time) created_at=, ctx : Medup::Context ctx, ctx=(ctx : Medup::Context) ctx=, filename filename, id : Int32 | Nil id, id=(id : Int32 | Nil) id=, raw : String raw, raw=(raw : String) raw=, slug : String slug, slug=(slug : String) slug=, to_md to_md, to_pretty_json to_pretty_json

Class methods inherited from class Medup::Post

from_json(raw : String) from_json

Constructor Detail

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

Instance Method Detail

def body_markdown : String #

def body_markdown=(body_markdown : String) #

def canonical_url : String #

def canonical_url=(canonical_url : String) #

def client : Devto::Client #

def client=(client : Devto::Client) #

def cover_image : String #

def cover_image=(cover_image : String) #

def description : String #

def description=(description : String) #

def download_image(name : String, src : String) #

def md_content(assets) : String #

def md_cover_image(assets) #

def md_header #

def tag_list : String #

def tag_list=(tag_list : String) #

def tags : Array(String) #

def tags=(tags : Array(String)) #

def title : String #

def title=(title : String) #

def to_md #

def url : String #

def url=(url : String) #

def user : User | Nil #

def user=(user : User | Nil) #