Sha256: f807dd3f7ed6ffa0cd28f38af402572f5fd1ca5cbdeb96a4b9b2c8ead2fd2dde

Contents?: true

Size: 450 Bytes

Versions: 6

Compression:

Stored size: 450 Bytes

Contents

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.with( read_only: true )

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 lib/fortnox/api/models/label.rb
fortnox-api-0.5.1 lib/fortnox/api/models/label.rb
fortnox-api-0.5.0 lib/fortnox/api/models/label.rb
fortnox-api-0.4.0 lib/fortnox/api/models/label.rb
fortnox-api-0.3.0 lib/fortnox/api/models/label.rb
fortnox-api-0.2.0 lib/fortnox/api/models/label.rb