Top Level Namespace

Defined Under Namespace

Modules: Abaci, ActionController, ActionDispatch, ActionIntegration, ActiveExchanger, ActiveGuide, ActiveSensor, Aggeratio, AgroSystemes, Agroedi, Api, ApplicationHelper, Attachable, Authentication, Autocastable, Autocomplete, Backend, BovinsCroissance, Caj, Calculus, CallLoggable, CastGroupable, CharentesAlliance, ChartsHelper, Clean, CobblesHelper, Commentable, ConditionalReadonly, Customizable, Diagram, EBP, Ekylibre, Enumerize, FEC, FIEA, Fixturing, GeoJSON, IdHumanizable, Indicateable, Inspectable, InspectionViewable, Interventions, Iot, Isagri, JournalEntriesCondition, LaGraineInformatique, Labellable, Legrain, LelyMilkRobot, Letterable, Lexicon, Lexiconable, Lilco, Map, MigrationHelper, Milklic, NamingFormats, NavigationHelper, Nomen, NomenHelper, OmniAuth, OpenWeatherMap, PdfPrinter, PeriodicCalculable, Pesticide, Phytosanitary, Procedo, Products, Public, ReadingStorable, RespondWithTemplate, RestfullyManageable, Rightable, Routes, SVF, ScopeIntrospection, ScopedTranslationHelper, Searchable, SimpleForm, StateBadgeSetHelper, StateBarHelper, StateMachine, Synel, Synest, Taskable, Tele, Telepac, Test, TimeLineable, ToolbarHelper, Transitionable, UPRA, Unicoque, UnrollHelper, Unrollable, Userstamp, Versionable, Viniteca, Visualization, VisualizationsHelper, Vivescia, WiceGridHelper, WorkingSet Classes: Account, AccountBalance, Activity, ActivityBudget, ActivityBudgetItem, ActivityDecorator, ActivityDistribution, ActivityInspectionCalibrationNature, ActivityInspectionCalibrationScale, ActivityInspectionPointNature, ActivityProduction, ActivityProductionCheckJob, ActivityProductionDecorator, ActivitySeason, ActivityTactic, Affair, Alert, AlertPhase, AllSensorsReadingJob, Analysis, AnalysisItem, Animal, AnimalGroup, ApiController, ApplicationController, Attachment, BackendScaffoldGenerator, BankStatement, BankStatementItem, BaseController, Bioproduct, BooleanValidator, Building, BuildingDivision, Call, CallMessage, CallRequest, CallResponse, Campaign, CampaignActivity, CampaignProduction, CapIslet, CapLandParcel, CapNeutralArea, CapStatement, Cash, CashSession, CashTransfer, Catalog, CatalogItem, ChoiceInput, CollectionValidator, ColorInput, Contract, ContractItem, Crumb, CrumbSet, CultivableZone, CustomField, CustomFieldChoice, DailyTriggerJob, Dashboard, DateFormatValidator, DebtTransfer, Delay, DelayValidator, Delivery, DeliveryTool, Deposit, District, Document, DocumentTemplate, Easement, EconomicSituation, Entity, EntityAddress, EntityLink, Equipment, EquipmentDecorator, EquipmentFleet, EquipmentLifeProgressCheckJob, Event, EventParticipation, ExchangerValidator, ExportJob, FecExportJob, FinancialYear, FinancialYearClose, FinancialYearCloseJob, FinancialYearExchange, FinancialYearExchangeExport, FinancialYearExchangeExportMailer, FinancialYearExchangeImport, FixedAsset, FixedAssetDepreciation, Fungus, Gap, GapItem, GeometryInput, Georeading, GlobalCurrency, Guide, GuideAnalysis, GuideAnalysisPoint, HourlyTriggerJob, IbanValidator, Identifier, Import, ImportRunJob, IncomingPayment, IncomingPaymentMode, Indicatus, Inspection, InspectionCalibration, InspectionCalibrationDecorator, InspectionPoint, Integration, Intervention, InterventionAgent, InterventionCosting, InterventionCostingDecorator, InterventionDecorator, InterventionDoer, InterventionGroupParameter, InterventionInput, InterventionLabelling, InterventionOutput, InterventionParameter, InterventionParameterDecorator, InterventionParameterReading, InterventionParticipation, InterventionProductParameter, InterventionTarget, InterventionTool, InterventionWorkingPeriod, InterventionWorkingTimeDurationCalculationService, InvalidDelayExpression, Inventory, InventoryBookkeeper, InventoryItem, Issue, Journal, JournalEntry, JournalEntryItem, Label, LandParcel, Listing, ListingNode, ListingNodeItem, Loan, LoanRepayment, Mailman, ManureManagementPlan, ManureManagementPlanZone, MapEditorManager, MapLayer, MasterEquipmentCost, MasterEquipmentFlow, MasterEquipmentNature, MasterProductionNature, MasterProductionOutput, MatchValidator, Matter, Measure, NamingFormat, NamingFormatField, NamingFormatFieldLandParcel, NamingFormatLandParcel, NegativeNumeric, NetService, NomenclatureMigrationGenerator, Notification, Observation, OfxImport, OutgoingPayment, OutgoingPaymentList, OutgoingPaymentListPrinter, OutgoingPaymentMode, Parcel, ParcelBookkeeper, ParcelItem, ParcelItemStoring, ParcelItemStoringDecorator, Payslip, PayslipAffair, PayslipNature, PayslipPayment, PhytosanitaryMiscibility, Plant, PlantCounting, PlantCountingItem, PlantDecorator, PlantDensityAbacus, PlantDensityAbacusItem, PostalZone, Preference, Prescription, Product, ProductDecorator, ProductEnjoyment, ProductGroup, ProductLabelling, ProductLink, ProductLinkage, ProductLocalization, ProductMembership, ProductMovement, ProductNature, ProductNatureCategory, ProductNatureCategoryTaxation, ProductNatureDecorator, ProductNatureVariant, ProductNatureVariantComponent, ProductNatureVariantReading, ProductOwnership, ProductPhase, ProductPopulation, ProductReading, Progress, ProjectBudget, PseudoEnvironment, PublicController, Purchase, PurchaseAffair, PurchaseDecorator, PurchaseGap, PurchaseInvoice, PurchaseItem, PurchaseItemDecorator, PurchaseNature, PurchaseOrder, PurchasePayment, ReadingsCoder, ReceivableItemsFilter, Reception, ReceptionBookkeeper, ReceptionItem, ReceptionItemDecorator, ReflectInventoryJob, RegisteredAgroediCode, RegisteredBuildingZone, RegisteredPfiCrop, RegisteredPfiDose, RegisteredPfiTarget, RegisteredPhytosanitaryPhrase, RegisteredPhytosanitaryProduct, RegisteredPhytosanitaryRisk, RegisteredPhytosanitaryUsage, RegisteredPostalZone, RegisteredSeed, RegisteredWaterLake, RegisteredWaterRiver, RegistrationMailer, Regularization, RenamingMigrationGenerator, Role, Sale, SaleAffair, SaleGap, SaleItem, SaleNature, SaleOpportunity, SaleTicket, ScheduleJob, Sensor, SensorsReadingJob, Sequence, SequenceManager, Settlement, Shipment, ShipmentBookkeeper, ShipmentItem, SiretFormatValidator, SpatialInput, StateBarBuilder, String, SubZone, Subscription, SubscriptionNature, Supervision, SupervisionItem, SymbolArray, SynchronizationOperation, TargetDistribution, Task, Tax, TaxDeclaration, TaxDeclarationItem, TaxDeclarationItemPart, Team, Token, Tracking, User, Version, VersionChange, Worker, Zone

Instance Method Summary collapse

Instance Method Details

#error_generation_notification_params(_filename, id, error) ⇒ Object


35
36
37
38
39
40
41
42
43
44
45
# File 'app/jobs/export_job.rb', line 35

def error_generation_notification_params(_filename, id, error)
  {
    message: 'error_during_file_generation',
    level: :error,
    target_type: 'Document',
    target_url: backend_export_path(id),
    interpolations: {
      error_message: error
    }
  }
end

#valid_generation_notification_params(_path, _filename, document_id) ⇒ Object


47
48
49
50
51
52
53
54
55
# File 'app/jobs/export_job.rb', line 47

def valid_generation_notification_params(_path, _filename, document_id)
  {
    message: 'file_generated',
    level: :success,
    target_type: 'Document',
    target_url: backend_document_path(document_id),
    interpolations: {}
  }
end