Sha256: ec96af15f3d7d58954fd4d98456b770277a90954fd44ec33cc17f65a47855822
Contents?: true
Size: 602 Bytes
Versions: 38
Compression:
Stored size: 602 Bytes
Contents
#!/usr/bin/env ruby require 'mux_ruby' require 'solid_assert' SolidAssert.enable_assertions # Authentication Setup openapi = MuxRuby.configure do |config| config.username = ENV['MUX_TOKEN_ID'] config.password = ENV['MUX_TOKEN_SECRET'] end # API Client Initialization usage_api = MuxRuby::DeliveryUsageApi.new # ========== list-delivery-usage ========== # Example with a valid timeframe: # usage = usage_api.list_delivery_usage({:timeframe => ['1574175600', '1574305200']}) usage = usage_api.list_delivery_usage() assert usage != nil assert usage.data != nil puts "list-delivery-usage OK ✅"
Version data entries
38 entries across 38 versions & 1 rubygems