Class: ServiceList
- Inherits:
-
Object
- Object
- ServiceList
- Defined in:
- app/models/service_list.rb
Instance Method Summary collapse
-
#initialize(batch_ids, service_hash) ⇒ ServiceList
constructor
A new instance of ServiceList.
- #to_array ⇒ Object
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_array ⇒ Object
9 10 11 |
# File 'app/models/service_list.rb', line 9 def to_array [Service, columns, values] end |