Sticking points include:
Once we have up to date API specs from #80 and can update the VCRs from #79, we can add tests for some of the above against the real example responses from the API to check that we can figure out the types of resources where the information isn't provided, get the right properties implemented and map to the right implementing Ruby classes.
Sticking points include:
@typedeclarations of the main resource or any nested properties. We need to rely on the declared type of the main resource and its properties in the model.yaml to look up any implementing Ruby class and to figure out what properties/methods to allow inresponsds_to?andmethod_missing.@typeor many@typedeclarations back, these still might not be the most specific type of the resource.environmentalMonitoring, which is only declared onGmoAuthorisation(subclass ofAuthorisation). I'm not sure whether this will bite us, though we could do with coming up with some tests to check the boundaries.Once we have up to date API specs from #80 and can update the VCRs from #79, we can add tests for some of the above against the real example responses from the API to check that we can figure out the types of resources where the information isn't provided, get the right properties implemented and map to the right implementing Ruby classes.