sanger/sequencescape

View on GitHub
app/api/model_extensions/robot.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# Included in {Robot}
# The intent of this file was to provide methods specific to the V1 API
module ModelExtensions::Robot
  def json_for_properties
    robot_properties.to_h { |prop| [prop.key, prop.value] }
  end

  private
end