class Ellipses::Client::Meta
Constants
- Error
- Insertion
- Lock
- Source
Public Class Methods
from_array(array_of_hashes)
click to toggle source
# File lib/ellipses/client/meta.rb, line 73 def self.from_array(array_of_hashes) array_of_sources = array_of_hashes.map { |hash| Source.from_hash(hash) } new array_of_sources end
new(array_of_sources)
click to toggle source
Calls superclass method
# File lib/ellipses/client/meta.rb, line 63 def initialize(array_of_sources) super @delegate_sd_obj = array_of_sources end
Public Instance Methods
to_json(*args)
click to toggle source
# File lib/ellipses/client/meta.rb, line 69 def to_json(*args) to_a.to_json(*args) end