Class: Peddler::Types::MerchantFulfillmentV0::Constraints

Inherits:
Array
  • Object
show all
Defined in:
lib/peddler/types/merchant_fulfillment_v0/constraints.rb

Overview

List of constraints.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



13
14
15
# File 'lib/peddler/types/merchant_fulfillment_v0/constraints.rb', line 13

def parse(array)
  new(array.map { |item| Constraint.parse(item) })
end