Class: KalibroGem::Entities::Metric

Inherits:
Model
  • Object
show all
Defined in:
lib/kalibro_gem/entities/metric.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#kalibro_errors

Instance Method Summary collapse

Methods inherited from Model

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

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, #save_action, #save_params

Constructor Details

This class inherits a constructor from KalibroGem::Entities::Model

Instance Attribute Details

#compoundObject

Returns the value of attribute compound.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def compound
  @compound
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def description
  @description
end

#languageObject

Returns the value of attribute language.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def language
  @language
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def name
  @name
end

#scopeObject

Returns the value of attribute scope.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def scope
  @scope
end

#scriptObject

Returns the value of attribute script.



5
6
7
# File 'lib/kalibro_gem/entities/metric.rb', line 5

def script
  @script
end

Instance Method Details

#languagesObject



7
8
9
# File 'lib/kalibro_gem/entities/metric.rb', line 7

def languages
  @language
end

#languages=(languages) ⇒ Object



11
12
13
# File 'lib/kalibro_gem/entities/metric.rb', line 11

def languages=(languages)
  @language = languages
end