Method: Ellipses::Client::Meta::Series.from_array

Defined in:
lib/ellipses/client/meta.rb

.from_array(array_of_hashes) ⇒ Object



33
34
35
36
# File 'lib/ellipses/client/meta.rb', line 33

def self.from_array(array_of_hashes)
  array_of_locks = array_of_hashes.map { |hash| Lock.from_hash hash }
  new array_of_locks
end