Sha256: 2a176924c99601635996652df49a8c4515364c71026efd4f099554bc6883df50
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 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 errors_api = MuxRuby::ErrorsApi.new # ========== list-errors ========== errors = errors_api.list_errors(:filters => ['browser:Firefox'], :timeframe => ['7:days']) assert errors != nil assert errors.data != nil assert errors.data.length > 0 assert errors.data.first.id != nil puts "list-errors OK ✅"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mux_ruby-1.0.0 | examples/data/exercise-errors.rb |