class Envirobly::Api

def validate_shape(params)

def validate_shape(params)
  post_as_json(api_v1_shape_validations_url, params:, headers: authorization_headers).tap do |response|
    unless response.success?
      $stderr.puts "Validation request responded with #{response.code}. Aborting."
      exit 1
    end
  end
end