Sha256: e2e474ea1e370605b12f6cd6c69464e9bf03997373f7853e7427cb7359cf6b57

Contents?: true

Size: 783 Bytes

Versions: 2

Compression:

Stored size: 783 Bytes

Contents

module GovDelivery::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

2 entries across 2 versions & 1 rubygems

Version Path
govdelivery-tms-0.8.2 lib/govdelivery/tms/resource/command_type.rb
govdelivery-tms-0.8.1 lib/govdelivery/tms/resource/command_type.rb