Sha256: 821e49c4710f6ab736a0723f8bf1d772712e0918c523fe010a05155bdfec3af2

Contents?: true

Size: 201 Bytes

Versions: 3

Compression:

Stored size: 201 Bytes

Contents

module Suricate
  class CounterWidget < Widget
    def execute
      response = CounterWidgetResponse.new
      @collector.populate(response, params)

      api_success response.to_h
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
suricate-0.0.4 lib/suricate/widgets/counter_widget.rb
suricate-0.0.3 lib/suricate/widgets/counter_widget.rb
suricate-0.0.2 lib/suricate/widgets/counter_widget.rb