Sha256: 062e035b8cd9dfbb5ea9f6bb47b56079967ec9fe21edce5e9338eed454b5c382

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

(service
  "Rate Exchange"

  (contract "Get currency exchange rate"
    (method :get)
    (url "http://rate-exchange.appspot.com/currency?from=USD&to=INR")

    (should-have :path "$.to" :equal-to "INR")
    (should-have :path "$.from" :equal-to "USD")
    (should-have :path "$.rate" :of-type :number)
  )
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
calatrava-0.6.11 contracts/rate-exchange.jns
calatrava-0.6.10 contracts/rate-exchange.jns
calatrava-0.6.9 contracts/rate-exchange.jns
calatrava-0.6.8 contracts/rate-exchange.jns
calatrava-0.6.7 contracts/rate-exchange.jns