Class: ServiceList

Inherits:
Object
  • Object
show all
Defined in:
app/models/service_list.rb

Instance Method Summary collapse

Constructor Details

#initialize(batch_ids, service_hash) ⇒ ServiceList

Returns a new instance of ServiceList.


4
5
6
7
# File 'app/models/service_list.rb', line 4

def initialize(batch_ids, service_hash)
  @batch_ids = batch_ids
  @service_hash = service_hash
end

Instance Method Details

#to_arrayObject


9
10
11
# File 'app/models/service_list.rb', line 9

def to_array
  [Service, columns, values]
end