Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 369 Bytes
package example
import groovy.transform.CompileStatic
import io.exchangeratesapi.ExchangeratesApi
import org.springframework.beans.factory.annotation.Autowired
@CompileStatic
class ExchangeRatesController {
@Autowired
ExchangeratesApi exchangerateApi
def index() {
[foreignExchangeReferenceRates: exchangerateApi.latest().blockingGet()]
}
}
You can’t perform that action at this time.