Sha256: 927a18500ca4549b73ffbd20c441a171322ad1f758faf5576a0bf722cfe1c6f9

Contents?: true

Size: 392 Bytes

Versions: 6

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module IronBank
  module Actions
    # Update the information in one or more objects of the same type
    # https://www.zuora.com/developer/api-reference/#operation/Action_POSTupdate
    #
    class Update < Action
      private

      def params
        {
          objects: requests,
          type:    args.fetch(:type)
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iron_bank-1.0.4 lib/iron_bank/actions/update.rb
iron_bank-1.0.3 lib/iron_bank/actions/update.rb
iron_bank-1.0.2 lib/iron_bank/actions/update.rb
iron_bank-1.0.1 lib/iron_bank/actions/update.rb
iron_bank-1.0.0 lib/iron_bank/actions/update.rb
iron_bank-0.7.1 lib/iron_bank/actions/update.rb