struct

Medup::Settings

Inherits Struct / Value / Object

Constants

DEFAULT_ASSETS_BASE_PATH = "./assets"
DEFAULT_ASSETS_DIR_NAME = "assets"
DEFAULT_PLATFORM = PLATFORM_MEDIUM
DEFAULT_POSTS_PATH = "./posts"
PLATFORM_DEVTO = "devto"
PLATFORM_MEDIUM = "medium"
PLATFORMS = [PLATFORM_MEDIUM, PLATFORM_DEVTO]

Constructors

Instance methods

assets_base_path
Source
assets_base_path=(assets_base_path : String)
Source
assets_dist
Source
assets_dist=(assets_dist : String | Nil)
Source
assets_image?
Source
dry_run!
Source
dry_run?
Source
github_api_token
Source
github_api_token=(github_api_token : String | Nil)
Source
medium_token
Source
medium_token=(medium_token : String | Nil)
Source
options
Source
options=(options : Array(Medup::Options))
Source
platform
Source
platform=(platform : String)
Source
posts_dist
Source
posts_dist=(posts_dist : String)
Source
set_assets_image!
Source
set_update_content!
Source
update_content?
Source
valid?
Source