Class: KalibroClient::Entities::Configurations::Statistic

Inherits:
Base
  • Object
show all
Defined in:
lib/kalibro_client/entities/configurations/statistic.rb

Instance Attribute Summary

Attributes included from DateAttributes

#created_at, #updated_at

Attributes inherited from Base

#kalibro_errors, #persisted

Class Method Summary collapse

Methods inherited from Base

address

Methods inherited from Base

#==, create, create_array_from_hash, create_objects_array_from_hash, #destroy, exists?, find, #initialize, request, #save, #save!, #to_hash, to_object, to_objects_array, #update

Methods included from RequestMethods::ClassMethods

#exists_action, #find_action, #id_params

Methods included from HashConverters

#convert_to_hash, #date_with_milliseconds, #field_to_hash

Methods included from XMLConverters

#get_xml, #xml_instance_class_name

Methods included from RequestMethods

#destroy_action, #destroy_params, #destroy_prefix, #save_action, #save_params, #save_prefix, #update_params, #update_prefix

Constructor Details

This class inherits a constructor from KalibroClient::Entities::Base

Class Method Details

.metric_percentage(metric_code) ⇒ Object



5
6
7
# File 'lib/kalibro_client/entities/configurations/statistic.rb', line 5

def self.metric_percentage(metric_code)
  request('/metric_percentage', {metric_code: metric_code}, :get)
end