Class: Task::DataInterface::CassandraAdapter::TaskDeserializer

Inherits:
Object
  • Object
show all
Defined in:
lib/task/data_interface/cassandra_adapter.rb

Class Method Summary collapse

Class Method Details

.pipe(items, status) ⇒ Object



61
62
63
64
65
# File 'lib/task/data_interface/cassandra_adapter.rb', line 61

def self.pipe(items, status)
  items.map do |item|
    Task::Task.from_hash(item.with_indifferent_access)
  end
end