app/mutations/sequences/show.rb
def misc_fields
      return {
               id: sequence.id,
               created_at: sequence.created_at,
               updated_at: sequence.updated_at,
               args: Sequence::DEFAULT_ARGS,
               color: sequence.color,
               folder_id: sequence.folder_id,
               forked: sequence.forked,
               name: sequence.name,
               pinned: sequence.pinned,
               sequence_versions: available_version_ids,
               sequence_version_id: sequence.sequence_version_id,
             }
    end
# Generates a hash that has all the other fields that API users expect,
# Eg: color, id, etc.
Generates a hash that has all the other fields that API users expect,
Eg: color, id, etc.
Generates a hash that has all the other fields that API users expect Eg : color id etc .
def misc_fields
      return {
               id: sequence.id,
               created_at: sequence.created_at,
               updated_at: sequence.updated_at,
               args: Sequence::DEFAULT_ARGS,
               color: sequence.color,
               folder_id: sequence.folder_id,
               forked: sequence.forked,
               name: sequence.name,
               pinned: sequence.pinned,
               sequence_versions: available_version_ids,
               sequence_version_id: sequence.sequence_version_id,
             }
    end
def misc_fields return { id : sequence . id , created_at : sequence . created_at , updated_at : sequence . updated_at , args : Sequence :: DEFAULT_ARGS , color : sequence . color , folder_id : sequence . folder_id , forked : sequence . forked , name : sequence . name , pinned : sequence . pinned , sequence_versions : available_version_ids , sequence_version_id : sequence . sequence_version_id , } end
Generates a hash that has all the other fields that API users expect,
Eg: color, id, etc.
Generates a hash that has all the other fields that API users expect Eg : color id etc .