class Medup::Tool
- Medup::Tool
- Reference
- Object
Defined in:
medup/tool.crConstant Summary
-
DIST_PATH =
"./posts"
-
JSON_FORMAT =
"json"
-
MARKDOWN_FORMAT =
"md"
-
SOURCE_AUTHOR_POSTS =
"overview"
-
SOURCE_RECOMMENDED_POSTS =
"has-recommended"
Constructors
Instance Method Summary
- #backup
- #close : Nil
- #download_iframe(name : String)
- #download_to_assets(src, filename)
- #process_post(post_url : String)
- #process_posts_async(posts)
- #save(post, format = "json")
- #save_assets(post)
Constructor Detail
def self.new(token : String, user : String | Nil, articles : Array(String), dist : String | Nil, format : String | Nil, source : String | Nil, update : Bool | Nil)
#