class Flapjack::Data::Statistic

Public Class Methods

jsonapi_associations() click to toggle source
# File lib/flapjack/data/statistic.rb, line 107
def self.jsonapi_associations
  @jsonapi_associations ||= {}
end
jsonapi_methods() click to toggle source
# File lib/flapjack/data/statistic.rb, line 93
def self.jsonapi_methods
  @jsonapi_methods ||= {
    :get => Flapjack::Gateways::JSONAPI::Data::MethodDescriptor.new(
      :attributes => [:instance_name, :created_at, :all_events,
                      :ok_events, :failure_events, :action_events,
                      :invalid_events],
      :descriptions => {
        :multiple => "Returns global or per-instance event statistics.",
        :singular => "Returns a single event statistics data object."
      }
    )
  }
end
swagger_included_classes() click to toggle source
# File lib/flapjack/data/statistic.rb, line 88
def self.swagger_included_classes
  # hack -- hardcoding for now
  []
end