This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getCategory = function(addresseeClient, eventReference, postingText){ | |
if (/Auszahlung|Geldautomat|GAA /i.test(addresseeClient)){ | |
return "cash"; | |
} | |
return "none"; | |
} | |
pdfs.forEach( function (pdfFilename) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module BaseEntity | |
extend ActiveSupport::Concern | |
include ActiveModel::Model | |
include ActiveModel::Dirty | |
include ActiveModel::Serializers::JSON | |
include ActiveModel::Serializers::Xml | |
included do | |
include ::Virtus.model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def after_bundler_callbacks | |
@after_bundler_callbacks ||= [] | |
end | |
def run_bundle | |
super | |
run_after_bundler_callbacks unless options[:skip_gemfile] || options[:skip_bundle] | |
end | |
def run_after_bundler_callbacks |