Method: JSS::PeripheralType#insert_field
- Defined in:
- lib/jss/api_object/peripheral_type.rb
#insert_field(order, field = {}) ⇒ void
This method returns an undefined value.
Add a new field to the middle of the fields Array.
214 215 216 217 218 219 |
# File 'lib/jss/api_object/peripheral_type.rb', line 214 def insert_field(order,field = {}) field_ok? field @fields.insert((order -1), field) order_fields @need_to_update = true end |