Sha256: b0b03ce16a35e702981a98ef2c89cbf9f203d02dec2b35326b919065399ee412

Contents?: true

Size: 770 Bytes

Versions: 13

Compression:

Stored size: 770 Bytes

Contents

module TMS #:nodoc:
  # CommandType is a pair of values (name, string_fields, array_fields) that can be attached
  # to a Keyword (in a Command object).
  #
  # This resource is read-only. 
  #
  # @attr name [String] The name of the CommandType.
  # @attr string_fields [Array] An Array of strings representing the different string_fields on this 
  #   CommandType.  Field values will always be strings.  
  # @attr array_fields [Array] An array of strings representing the different array fields on this 
  #   CommandType.  Field values will always be arrays of strings. 
  #  
  class CommandType

    include InstanceResource
    
    # @!parse attr_reader :string_fields, :array_fields, :name
    readonly_attributes :name, :string_fields, :array_fields
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
govdelivery-tms-0.8.0 lib/govdelivery-tms/resource/command_type.rb
tms_client-0.6.0 lib/tms_client/resource/command_type.rb
tms_client-0.5.4 lib/tms_client/resource/command_type.rb
tms_client-0.5.3 lib/tms_client/resource/command_type.rb
tms_client-0.5.2 lib/tms_client/resource/command_type.rb
tms_client-0.5.1 lib/tms_client/resource/command_type.rb
tms_client-0.4.1 lib/tms_client/resource/command_type.rb
tms_client-0.4.0 lib/tms_client/resource/command_type.rb
tms_client-0.3.0 lib/tms_client/resource/command_type.rb
tms_client-0.2.2 lib/tms_client/resource/command_type.rb
tms_client-0.2.1 lib/tms_client/resource/command_type.rb
tms_client-0.2.0 lib/tms_client/resource/command_type.rb
tms_client-0.1.1 lib/tms_client/resource/command_type.rb