Sha256: b256ca584b097d66c502f6985127c9955085dc7c36dfd175404c1c379503ba04
Contents?: true
Size: 757 Bytes
Versions: 39
Compression:
Stored size: 757 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 filters_api = MuxRuby::FiltersApi.new # ========== list-filters ========== filters = filters_api.list_filters() assert filters != nil assert filters.data != nil assert filters.data.basic != nil assert filters.data.advanced != nil puts "list-filters OK ✅" # ========== list-filter-values ========== filter_values = filters_api.list_filter_values("browser", {:timeframe => ['7:days']}) assert filter_values != nil assert filter_values.data != nil puts "list-filter-values OK ✅"
Version data entries
39 entries across 39 versions & 1 rubygems