ripe-tech/ripe-sdk

Method for order image URL

Closed this issue · 1 comments

Rationale

As there isn't a method in ripe-sdk to get the order image URL so currenlty we manually build the order image URL. Examples: ripe-pulse, ripe-robin-revamp, ripe-util-vue, ripe-copper, etc

Having a method to handle this will make the situation less error prone and ensure that compatiblity is maintained everywhere.

Description

Add a method in ripe-sdk to build and return an order image URL.

Implementation

Add a method called _getOrderImageURL here. The approach would be similar to, for example, _getOrderReportPNGURL

Reference

https://github.com/ripe-tech/products/issues/38 was created because inconsistencies were found between order image URL for build and buildless types.

Estimation

Discipline Estimation
Software Development 0.5 days

Test OK 👍