Sha256: b14dffcd06a0cfefa6ef0fe620e1ab7f826285c347077846c8e707cbcac19920

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

require_relative '../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

2 entries across 2 versions & 1 rubygems

Version Path
fortnox-api-0.8.2 lib/fortnox/api/models/label.rb
fortnox-api-0.8.1 lib/fortnox/api/models/label.rb