struct Medup::Settings
- Medup::Settings
- Struct
- Value
- Object
Defined in:
medup/settings.crConstant Summary
-
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 Method Summary
- #assets_base_path : String
- #assets_base_path=(assets_base_path : String)
- #assets_dist : String
- #assets_dist=(assets_dist : String | Nil)
- #assets_image? : Bool
- #dry_run! : Bool
- #dry_run? : Bool
- #github_api_token : String | Nil
- #github_api_token=(github_api_token : String | Nil)
- #medium_token : String | Nil
- #medium_token=(medium_token : String | Nil)
- #options : Array(Medup::Options)
- #options=(options : Array(Medup::Options))
- #platform : String
- #platform=(platform : String)
- #posts_dist : String
- #posts_dist=(posts_dist : String)
- #set_assets_image!
- #set_update_content!
- #update_content? : Bool
- #valid?