Sha256: 9ad2552bd6e948b585220f11e70709be5a3bf2c2b8498a550de4bc07ca3be102
Contents?: true
Size: 1.23 KB
Versions: 4
Compression:
Stored size: 1.23 KB
Contents
# frozen_string_literal: true require_relative 'base' require_relative '../types' module Fortnox module API module Model class Project < Fortnox::API::Model::Base UNIQUE_ID = :project_number STUB = { description: '' }.freeze # Url Direct URL to the record attribute :url, Types::Nullable::String.is(:read_only) # Comments Comments on project. 512 characters attribute :comments, Types::Sized::String[512] # ContactPerson ContactPerson for project. 50 characters attribute :contact_person, Types::Sized::String[50] # Description Description of the project. 50 characters attribute :description, Types::Sized::String[50] # EndDate End date of the project. attribute :end_date, Types::Nullable::Date # ProjectLeader Projectleader. 50 characters attribute :project_leader, Types::Sized::String[50] # ProjectNumber Projectnumber. 20 characters attribute :project_number, Types::Sized::String[20] # Status Status of the project attribute :status, Types::ProjectStatusType # StartDate Start date of the project attribute :start_date, Types::Nullable::Date end end end end
Version data entries
4 entries across 4 versions & 1 rubygems