Class: Openphar::Models::PhInt::BufferSolution

Inherits:
Reagent
  • Object
show all
Defined in:
lib/openphar/models/ph_int/buffer_solution.rb

Overview

Buffer Solution

A solution that resists changes in pH when small amounts of acid or base are added.

Examples:

buffer = PhInt::BufferSolution.new(
  id: 'phint-buffer-ph7',
  ph_range: '6.8 - 7.2',
  composition: { 'components' => ['KH2PO4', 'Na2HPO4'] }
)

Class Method Summary collapse

Methods inherited from BaseEntity

jsonld_context, neo4j_label, neo4j_labels_string, #to_cypher, #to_cypher_match, #to_jsonld, #to_neo4j_node, #to_neo4j_properties

Class Method Details

.jsonld_typeObject



31
32
33
# File 'lib/openphar/models/ph_int/buffer_solution.rb', line 31

def jsonld_type
  'BufferSolution'
end

.neo4j_labelsObject



27
28
29
# File 'lib/openphar/models/ph_int/buffer_solution.rb', line 27

def neo4j_labels
  %w[Reagent BufferSolution]
end