Sha256: 2de26d3adb1c83cc8e8ed6a8ccccce7c68dce70bc31c8d7ad8204deff61c7cbe

Contents?: true

Size: 511 Bytes

Versions: 22

Compression:

Stored size: 511 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:Safari'], :timeframe => ['7:days'])
assert errors != nil
assert errors.data != nil
puts "list-errors OK ✅"

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
mux_ruby-3.20.0 examples/data/exercise-errors.rb
mux_ruby-3.19.0 examples/data/exercise-errors.rb
mux_ruby-3.18.0 examples/data/exercise-errors.rb
mux_ruby-3.17.0 examples/data/exercise-errors.rb
mux_ruby-3.15.0 examples/data/exercise-errors.rb
mux_ruby-3.14.0 examples/data/exercise-errors.rb
mux_ruby-3.13.0 examples/data/exercise-errors.rb
mux_ruby-3.12.0 examples/data/exercise-errors.rb
mux_ruby-3.11.1 examples/data/exercise-errors.rb
mux_ruby-3.11.0 examples/data/exercise-errors.rb
mux_ruby-3.9.0 examples/data/exercise-errors.rb
mux_ruby-3.8.0 examples/data/exercise-errors.rb
mux_ruby-3.7.0 examples/data/exercise-errors.rb
mux_ruby-3.6.0 examples/data/exercise-errors.rb
mux_ruby-3.5.2 examples/data/exercise-errors.rb
mux_ruby-3.5.1 examples/data/exercise-errors.rb
mux_ruby-3.5.0 examples/data/exercise-errors.rb
mux_ruby-3.4.0 examples/data/exercise-errors.rb
mux_ruby-3.3.1 examples/data/exercise-errors.rb
mux_ruby-3.3.0 examples/data/exercise-errors.rb