Sha256: 7c821495d905bfaced429717efcf7bc63fefb430c2b12cc0093fdbd4553723c4

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module WaCloudApi
  class Client
    def deliver(_params)
      validate_configuration
    end

    private

    def validate_configuration
      raise ArgumentError, 'Configuration is not set' if WaCloudApi.configuration.nil?

      WaCloudApi.configuration.valid?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wa_cloud_api-0.1.1 lib/wa_cloud_api/client.rb