Method: RemotePartial::Builder#run

Defined in:
lib/remote_partial/builder.rb

#runObject



15
16
17
18
19
20
# File 'lib/remote_partial/builder.rb', line 15

def run
  create_or_update_partial
  partial.update_stale_file
rescue RemotePartialRetrivalError => error
  RemotePartial.logger.warn error.message
end