Module: FactPulse::Helpers

Defined in:
lib/factpulse/helpers/client.rb,
lib/factpulse/helpers/helpers.rb,
lib/factpulse/helpers/exceptions.rb

Defined Under Namespace

Modules: MontantHelpers Classes: AFNORCredentials, ChorusProCredentials, FactPulseAuthError, FactPulseClient, FactPulseError, FactPulsePollingTimeout, FactPulseValidationError, ValidationErrorDetail

Class Method Summary collapse

Class Method Details

.create_client(**opts) ⇒ Object



6
# File 'lib/factpulse/helpers/helpers.rb', line 6

def self.create_client(**opts); FactPulseClient.new(**opts); end

.format_montant(m) ⇒ Object



7
# File 'lib/factpulse/helpers/helpers.rb', line 7

def self.format_montant(m); MontantHelpers.montant(m); end

.ligne_de_poste(*args, **kwargs) ⇒ Object



10
# File 'lib/factpulse/helpers/helpers.rb', line 10

def self.ligne_de_poste(*args, **kwargs); MontantHelpers.ligne_de_poste(*args, **kwargs); end

.ligne_de_tva(*args, **kwargs) ⇒ Object



11
# File 'lib/factpulse/helpers/helpers.rb', line 11

def self.ligne_de_tva(*args, **kwargs); MontantHelpers.ligne_de_tva(*args, **kwargs); end

.montant(m) ⇒ Object



8
# File 'lib/factpulse/helpers/helpers.rb', line 8

def self.montant(m); MontantHelpers.montant(m); end

.montant_total(*args, **kwargs) ⇒ Object



9
# File 'lib/factpulse/helpers/helpers.rb', line 9

def self.montant_total(*args, **kwargs); MontantHelpers.montant_total(*args, **kwargs); end