Module: DK
- Defined in:
- lib/draftking/cli.rb,
lib/draftking/posts.rb,
lib/draftking/queue.rb,
lib/draftking/client.rb,
lib/draftking/config.rb,
lib/draftking/drafts.rb,
lib/draftking/version.rb,
lib/draftking/reporter.rb,
lib/draftking/constants.rb,
lib/draftking/posts/post.rb,
lib/draftking/cli/cli_helpers.rb,
lib/draftking/cli/cli_options.rb,
lib/draftking/cli/commands/tag.rb,
lib/draftking/cli/commands/blogs.rb,
lib/draftking/cli/commands/strip.rb,
lib/draftking/cli/commands/status.rb,
lib/draftking/config/config_setup.rb,
lib/draftking/posts/posts_helpers.rb,
lib/draftking/cli/commands/comment.rb,
lib/draftking/cli/commands/console.rb,
lib/draftking/cli/commands/uploads.rb,
lib/draftking/cli/commands/accounts.rb,
lib/draftking/cli/commands/_template.rb,
lib/draftking/cli/commands/autoposter.rb,
lib/draftking/cli/commands/movedrafts.rb,
lib/draftking/cli/commands/user_command.rb
Defined Under Namespace
Modules: CliHelpers, Posts, TDrafts, TQueue Classes: Adapter, CLI, Client, Config, ConfigAdapter, Options, Post, Reporter, UserCommand
Constant Summary collapse
- VERSION =
'0.10.0.1'.freeze
- DRAFT =
Posts
'draft'.freeze
- QUEUE =
'queue'.freeze
- PUBLISH =
'published'.freeze
- VALID_STATE =
[DRAFT, QUEUE, PUBLISH].freeze
- HTML_TAG_PATTERN =
Post
/<[\/]?[\w\d]+\s?(?:[\w\d\-]+=[^>]*>\s?)*>?/
- CONFIG_FILENAME =
Config
'.dkconfig'.freeze
- VALID_KEYS =
%w(consumer_key consumer_secret oauth_token oauth_token_secret).freeze
- CREDIT_TAG =
Credit Tag
'DraftKing for Tumblr'.freeze
- MAX_THREADS =
Scaling
3
- MAX_RETRY =
3
- REPORT_TITLE =
PostReporter
'Post Report'.freeze
- REPORT_FIELDS =
%w(id state comment tags).freeze
- REPORT_SIM =
'(SIMULATION)'.freeze
- UPLOAD_FIELDS =
Uploads
%w(count line file caption status).freeze