Sha256: e5b250ee451f66e88f94a1b61992fbcb0a4e6e72d9b9ef6c5d1d95d4f5f9f9b6

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

module Ebanx
  module Command
    class EditMerchantIntegrationProperties < Command
      def initialize(params)
        @params         = params
        @request_method = :post
        @request_action = 'merchantIntegrationProperties/edit'
        @response_type  = :json
      end

      def validate
        validate_presence :image
        validate_presence :url_response
        validate_presence :receipt_email
        validate_presence :url_status_change_notification
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ebanx-1.3.1 lib/ebanx/command/edit_merchant_integration_properties.rb
ebanx-1.3.0 lib/ebanx/command/edit_merchant_integration_properties.rb