Class: Docman::Builders::ProviderBuilder

Inherits:
Builder show all
Defined in:
lib/docman/builders/provider_builder.rb

Direct Known Subclasses

DirectBuilder, GitProviderBuilder

Instance Attribute Summary

Attributes inherited from Command

#type

Instance Method Summary collapse

Methods inherited from Builder

#config, create, #describe, #prefix, register_builder, #validate_command, #version

Methods inherited from Command

#add_action, #add_actions, #config, create, #describe, #initialize, #perform, #prefix, register_command, #replace_placeholder, #run_actions, #run_with_hooks

Methods included from Logging

#log, logger, #logger, #prefix, #properties_info, #with_logging

Constructor Details

This class inherits a constructor from Docman::Command

Instance Method Details

#changed?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/docman/builders/provider_builder.rb', line 11

def changed?
  @provider.changed?
end

#executeObject



7
8
9
# File 'lib/docman/builders/provider_builder.rb', line 7

def execute
  @provider.perform
end