Class: GovDelivery::TMS::CommandType
- Inherits:
-
Object
- Object
- GovDelivery::TMS::CommandType
- Includes:
- InstanceResource
- Defined in:
- lib/govdelivery/tms/resource/command_type.rb
Overview
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.
Instance Attribute Summary collapse
-
#array_fields ⇒ Array
An array of strings representing the different array fields on this CommandType.
-
#name ⇒ String
The name of the CommandType.
-
#string_fields ⇒ Array
An Array of strings representing the different string_fields on this CommandType.
Attributes included from InstanceResource
Method Summary
Methods included from InstanceResource
Instance Attribute Details
#array_fields ⇒ Array
An array of strings representing the different array fields on this CommandType. Field values will always be arrays of strings.
13 14 15 |
# File 'lib/govdelivery/tms/resource/command_type.rb', line 13 def array_fields @array_fields end |
#name ⇒ String
The name of the CommandType.
13 14 15 |
# File 'lib/govdelivery/tms/resource/command_type.rb', line 13 def name @name end |
#string_fields ⇒ Array
An Array of strings representing the different string_fields on this CommandType. Field values will always be strings.
13 14 15 |
# File 'lib/govdelivery/tms/resource/command_type.rb', line 13 def string_fields @string_fields end |