Class: KalibroGatekeeperClient::Entities::Metric

Inherits:
Model
  • Object
show all
Defined in:
lib/kalibro_gatekeeper_client/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, 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 KalibroGatekeeperClient::Entities::Model

Instance Attribute Details

#codeObject

Returns the value of attribute code.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def code
  @code
end

#compoundObject

Returns the value of attribute compound.

Raises:

  • (ArgumentError)


4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def compound
  @compound
end

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def description
  @description
end

#languageObject

Returns the value of attribute language.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def language
  @language
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def name
  @name
end

#scopeObject

Returns the value of attribute scope.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def scope
  @scope
end

#scriptObject

Returns the value of attribute script.



4
5
6
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 4

def script
  @script
end

Instance Method Details

#languagesObject



6
7
8
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 6

def languages
  @language
end

#languages=(languages) ⇒ Object



10
11
12
# File 'lib/kalibro_gatekeeper_client/entities/metric.rb', line 10

def languages=(languages)
  @language = languages
end