class Ellipses::Client::Meta::Series
Public Class Methods
from_array(array_of_hashes)
click to toggle source
# 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
new(array_of_locks)
click to toggle source
Calls superclass method
# File lib/ellipses/client/meta.rb, line 23 def initialize(array_of_locks) super @delegate_sd_obj = array_of_locks end
Public Instance Methods
to_json(*args)
click to toggle source
# File lib/ellipses/client/meta.rb, line 29 def to_json(*args) to_a.to_json(*args) end