Sha256: babb4f586f1adf734c74ccd434d3e2c19016bfe2ff2a21f22049d7e1f3db056f

Contents?: true

Size: 788 Bytes

Versions: 4

Compression:

Stored size: 788 Bytes

Contents

module Tggl
  class Reporting
    @api_key: String
    @url: String
    @app: String | nil
    @app_prefix: String | nil
    @last_report_time: int
    @flags_to_report: Hash[
        String,
        Hash[
          String,
          {
            active: bool,
            value?: any,
            default?: any,
            count: int
          }
        ]
      ]
    @received_properties_to_report: Hash[Symbol, Array[int]]
    @received_values_to_report: Hash[Symbol, Hash[String, String | nil]]

    def initialize: (String api_key, { url?: String, app?: String, app_prefix?: String } options) -> void

    def send_report: -> void
    def report_flag: (String slug, bool active, any value, any default) -> void
    def report_context: (Hash[Symbol, any] context) -> void
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tggl-1.0.1 sig/tggl/reporting.rbs
tggl-1.0.0 sig/tggl/reporting.rbs
tggl-0.2.0 sig/tggl/reporting.rbs
tggl-0.1.0 sig/tggl/reporting.rbs