lib/jss/api_object/peripheral_type.rb
###
### Add a new field to the middle of the fields Array.
###
### @param order[Integer] where does the new field go?
###
### @param field[Hash] the new field data
###
### @return [void]
###
Add a new field to the middle of the fields Array.
Add a new field to the middle of the fields Array .
def insert_field(order,field = {})
      field_ok? field
      @fields.insert((order -1), field)
      order_fields
      @need_to_update = true
    end
def insert_field ( order , field = { } ) field_ok? field @fields . insert ( ( order - 1 ) , field ) order_fields @need_to_update = true end
Add a new field to the middle of the fields Array.
Add a new field to the middle of the fields Array .
None
void
order
None
field
the new field data
the new field data