Class: Order::CreateVcProcurementOrdersFromCsv::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/order/create_vc_procurement_orders_from_csv.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orders: nil, info_msgs: nil, errors: nil) ⇒ Result

Returns a new instance of Result.



5
# File 'app/services/order/create_vc_procurement_orders_from_csv.rb', line 5

def initialize(orders: nil, info_msgs: nil, errors: nil) = super

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



4
5
6
# File 'app/services/order/create_vc_procurement_orders_from_csv.rb', line 4

def errors
  @errors
end

#info_msgsObject (readonly)

Returns the value of attribute info_msgs

Returns:

  • (Object)

    the current value of info_msgs



4
5
6
# File 'app/services/order/create_vc_procurement_orders_from_csv.rb', line 4

def info_msgs
  @info_msgs
end

#ordersObject (readonly)

Returns the value of attribute orders

Returns:

  • (Object)

    the current value of orders



4
5
6
# File 'app/services/order/create_vc_procurement_orders_from_csv.rb', line 4

def orders
  @orders
end