class NexosisApi::Algorithm
Class to parse an individual algorithm
Attributes
description[RW]
Descriptive explanation of the algorithm implementation @return [String]
key[RW]
A unique identififer for the algorithm @return [String]
name[RW]
A friendly name for the algorithm @return [String]
Public Class Methods
new(algo_hash)
click to toggle source
# File lib/nexosis_api/algorithm.rb, line 4 def initialize(algo_hash) algo_hash.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end