Class: Peddler::APIs::MerchantFulfillmentV0::Constraints

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

Overview

List of constraints.

Class Method Summary collapse

Class Method Details

.parse(array) ⇒ Object



11
12
13
# File 'lib/peddler/apis/merchant_fulfillment_v0/constraints.rb', line 11

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