Sha256: ef749fc624ccc2a4dc05fae3119bd81f35e9fb1fabbcf4161107d7174946e109

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 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

4 entries across 4 versions & 1 rubygems

Version Path
ebanx-1.3.5 lib/ebanx/command/edit_merchant_integration_properties.rb
ebanx-1.3.4 lib/ebanx/command/edit_merchant_integration_properties.rb
ebanx-1.3.3 lib/ebanx/command/edit_merchant_integration_properties.rb
ebanx-1.3.2 lib/ebanx/command/edit_merchant_integration_properties.rb