Sha256: 7e250cc1fca98131fcd27e15c511fa7e98604273f478899bd79bf74dd357a52f

Contents?: true

Size: 461 Bytes

Versions: 8

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

require 'fortnox/api/types'

module Fortnox
  module API
    module Model
      class Label < Model::Base
        STUB = {}.freeze

        # Id	integer, read-only. The ID of the label.
        attribute :id, Types::Required::Integer.is(:read_only)

        # Description	string, 25 characters, required. Description of the label
        attribute :description, Types::Sized::String[25].is(:read_only)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fortnox-api-0.8.0 lib/fortnox/api/models/label.rb
fortnox-api-0.7.2 lib/fortnox/api/models/label.rb
fortnox-api-0.7.1 lib/fortnox/api/models/label.rb
fortnox-api-0.7.0 lib/fortnox/api/models/label.rb
fortnox-api-0.6.3 lib/fortnox/api/models/label.rb
fortnox-api-0.6.2 lib/fortnox/api/models/label.rb
fortnox-api-0.6.1 lib/fortnox/api/models/label.rb
fortnox-api-0.6.0 lib/fortnox/api/models/label.rb