Skip to content

Commit

Permalink
make config pdf key optional [#89220340]
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Kotsianas <[email protected]>
  • Loading branch information
ericTsiliacos authored and fkotsian committed Mar 5, 2015
1 parent 0a75921 commit 657653f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bookbinder/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def initialize(logger, config_hash)
@config = config_hash
end

CONFIG_REQUIRED_KEYS = %w(book_repo public_host pdf)
CONFIG_OPTIONAL_KEYS = %w(archive_menu dita_sections layout_repo versions pdf_index cred_repo)
CONFIG_REQUIRED_KEYS = %w(book_repo public_host)
CONFIG_OPTIONAL_KEYS = %w(archive_menu dita_sections layout_repo versions pdf_index cred_repo pdf)

CONFIG_REQUIRED_KEYS.each do |method_name|
define_method(method_name) do
Expand Down

0 comments on commit 657653f

Please sign in to comment.