Sha256: d392a9a7cf4bba328b7fb0cdfc6bf2bb1810a84f51538fc49d2db64aa43cdf61
Contents?: true
Size: 357 Bytes
Versions: 32
Compression:
Stored size: 357 Bytes
Contents
class PurchasesController < ApplicationController def create Chillout::Metric.push( series: "purchases", tags: { country: "USA", terminal: "KATE-123", }, timestamp: Time.now.utc, values: { number_of_products: 4, total_amount: 55.70, tax: 5.70, }, ) head :ok end end
Version data entries
32 entries across 4 versions & 1 rubygems