Sha256: d57846194baf3dbb9b8da2f099271a3640760e047e0235eee9ce5e6259a9c315
Contents?: true
Size: 483 Bytes
Versions: 1
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true module Zuora module Calls class Delete < Hashie::Dash property :type, required: true property :ids, required: true def xml_builder raise 'Must be Enumerable' unless ids.respond_to? :each lambda do |builder| builder[:api].delete do builder[:api].type type ids.each do |id| builder[:api].ids id end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zuora-ruby-0.7.0 | lib/zuora/calls/delete.rb |